#9145BB#9145BB

#9145BB is a mid, vivid violet. Relative luminance 0.139; OKLCH L 54.0% C 0.185 H 311.4°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#9145BB
RGBrgb(145, 69, 187)
HSLhsl(279, 46%, 50%)
HSVhsv(279, 63%, 73%)
CMYKcmyk(22.5%, 63.1%, 0%, 26.7%)
CIE-LABlab(44.04, 51.77, -49.21)
CIE-LCHlch(44.04, 71.42, 316.45°)
OKLaboklab(53.99% 0.1223 -0.1386)
OKLCHoklch(53.99% 0.185 311.4)
XYZxyz(22.7732, 13.8644, 48.4805)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9145BB #6FBB45
analogous
#5645BB #9145BB #BB45AA
triadic
#9145BB #BB9145 #45BB91
tetradic
#9145BB #BB5645 #6FBB45 #45AABB
square
#9145BB #BB5645 #6FBB45 #45AABB
split-complementary
#9145BB #AABB45 #45BB56
monochromatic
#4C2462 #6E348F #9145BB #AC72CB #C69FDC

Accessibility & contrast

On white

5.57
#9145BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#9145BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9145BB
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9145BB#FFFFFF#000000##FFFFFF
##9145BB1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D64BF
Deuteranopia (green-blind)
#3A6AB8
Tritanopia (blue-blind)
#8C5C7A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9145bb;
/* rgb */ color: rgb(145, 69, 187);
/* oklch */ color: oklch(54.0% 0.185 311.4);
Tailwind
colors: {
  custom: {
    50: '#b57dd0',
    500: '#9145bb',
    950: '#000000',
  },
}
SCSS
$custom: #9145bb;
$custom-light: #b57dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#9145bb",
  "rgb": {
    "r": 145,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 278.644,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53993,
    "c": 0.18481,
    "h": 311.4
  },
  "luminance": 0.13864
}

Semantic roles & 50–950 ramp

primary
#9145BB
secondary
#A6C894
accent
#D65281
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #9145BB

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#9145BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva