#9867BC#9867BC

#9867BC is a mid, vivid violet. Relative luminance 0.200; OKLCH L 59.9% C 0.135 H 309.5°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#9867BC
RGBrgb(152, 103, 188)
HSLhsl(275, 39%, 57%)
HSVhsv(275, 45%, 74%)
CMYKcmyk(19.1%, 45.2%, 0%, 26.3%)
CIE-LABlab(51.85, 35.74, -37.34)
CIE-LCHlch(51.85, 51.69, 313.74°)
OKLaboklab(59.95% 0.0855 -0.1039)
OKLCHoklch(59.95% 0.135 309.5)
XYZxyz(26.8745, 20.0071, 50.0132)
Luminance0.2001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9867BC #8BBC67
analogous
#6E67BC #9867BC #BC67B6
triadic
#9867BC #BC9867 #67BC98
tetradic
#9867BC #BC6E67 #8BBC67 #67B6BC
square
#9867BC #BC6E67 #8BBC67 #67B6BC
split-complementary
#9867BC #B6BC67 #67BC6E
monochromatic
#593475 #7A469F #9867BC #B591CF #D2BCE1

Accessibility & contrast

On white

4.20
#9867BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#9867BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9867BC
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9867BC#FFFFFF#000000##000000
##9867BC1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5379BF
Deuteranopia (green-blind)
#607CBA
Tritanopia (blue-blind)
#937488
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9867bc;
/* rgb */ color: rgb(152, 103, 188);
/* oklch */ color: oklch(59.9% 0.135 309.5);
Tailwind
colors: {
  custom: {
    50: '#b893d0',
    500: '#9867bc',
    950: '#000000',
  },
}
SCSS
$custom: #9867bc;
$custom-light: #b893d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9867bc",
  "rgb": {
    "r": 152,
    "g": 103,
    "b": 188
  },
  "hsl": {
    "h": 274.588,
    "s": 38.813,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59948,
    "c": 0.13461,
    "h": 309.5
  },
  "luminance": 0.20007
}

Semantic roles & 50–950 ramp

primary
#9867BC
secondary
#BDD1AE
accent
#CF598B
background
#FBF9FC
surface
#F6F1F9
border
#D0CBD2
text
#110D14
muted
#807E82

Preview Lab

Preview with #9867BC

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

Preview Lab → · Contrast checker → · Palette generator →

#9867BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva