#8F6BB9#8F6BB9

#8F6BB9 is a mid, vivid violet. Relative luminance 0.199; OKLCH L 59.6% C 0.121 H 304.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#8F6BB9
RGBrgb(143, 107, 185)
HSLhsl(268, 36%, 57%)
HSVhsv(268, 42%, 73%)
CMYKcmyk(22.7%, 42.2%, 0%, 27.5%)
CIE-LABlab(51.68, 30.10, -35.94)
CIE-LCHlch(51.68, 46.88, 309.95°)
OKLaboklab(59.56% 0.0681 -0.1001)
OKLCHoklch(59.56% 0.121 304.2)
XYZxyz(25.3405, 19.8579, 48.3875)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F6BB9 #95B96B
analogous
#6B6EB9 #8F6BB9 #B66BB9
triadic
#8F6BB9 #B98F6B #6BB98F
tetradic
#8F6BB9 #B96B6E #95B96B #6BB9B6
square
#8F6BB9 #B96B6E #95B96B #6BB9B6
split-complementary
#8F6BB9 #B9B66B #6EB96B
monochromatic
#523673 #704A9D #8F6BB9 #AE95CD #CEBEE0

Accessibility & contrast

On white

4.22
#8F6BB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#8F6BB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F6BB9
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F6BB9#FFFFFF#000000##000000
##8F6BB91.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#587ABC
Deuteranopia (green-blind)
#607BB7
Tritanopia (blue-blind)
#887889
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8f6bb9;
/* rgb */ color: rgb(143, 107, 185);
/* oklch */ color: oklch(59.6% 0.121 304.2);
Tailwind
colors: {
  custom: {
    50: '#b196ce',
    500: '#8f6bb9',
    950: '#000000',
  },
}
SCSS
$custom: #8f6bb9;
$custom-light: #b196ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8f6bb9",
  "rgb": {
    "r": 143,
    "g": 107,
    "b": 185
  },
  "hsl": {
    "h": 267.692,
    "s": 35.78,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59556,
    "c": 0.1211,
    "h": 304.2
  },
  "luminance": 0.19858
}

Semantic roles & 50–950 ramp

primary
#8F6BB9
secondary
#C1D0B0
accent
#CC5C98
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110D13
muted
#807E82

Preview Lab

Preview with #8F6BB9

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

Preview Lab → · Contrast checker → · Palette generator →

#8F6BB9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva