#9864BB#9864BB

#9864BB is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.4% C 0.138 H 310.4°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#9864BB
RGBrgb(152, 100, 187)
HSLhsl(276, 39%, 56%)
HSVhsv(276, 47%, 73%)
CMYKcmyk(18.7%, 46.5%, 0%, 26.7%)
CIE-LABlab(51.13, 37.20, -37.89)
CIE-LCHlch(51.13, 53.10, 314.47°)
OKLaboklab(59.4% 0.0897 -0.1055)
OKLCHoklch(59.4% 0.138 310.4)
XYZxyz(26.4741, 19.3780, 49.3498)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9864BB #87BB64
analogous
#6D64BB #9864BB #BB64B3
triadic
#9864BB #BB9864 #64BB98
tetradic
#9864BB #BB6D64 #87BB64 #64B3BB
square
#9864BB #BB6D64 #87BB64 #64B3BB
split-complementary
#9864BB #B3BB64 #64BB6D
monochromatic
#593272 #7A459D #9864BB #B48FCE #D1B9E0

Accessibility & contrast

On white

4.31
#9864BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#9864BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9864BB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9864BB#FFFFFF#000000##000000
##9864BB1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5077BE
Deuteranopia (green-blind)
#5E7BB9
Tritanopia (blue-blind)
#947287
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9864bb;
/* rgb */ color: rgb(152, 100, 187);
/* oklch */ color: oklch(59.4% 0.138 310.4);
Tailwind
colors: {
  custom: {
    50: '#b891d0',
    500: '#9864bb',
    950: '#000000',
  },
}
SCSS
$custom: #9864bb;
$custom-light: #b891d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9864bb",
  "rgb": {
    "r": 152,
    "g": 100,
    "b": 187
  },
  "hsl": {
    "h": 275.862,
    "s": 39.013,
    "l": 56.275
  },
  "oklch": {
    "l": 0.59395,
    "c": 0.13849,
    "h": 310.4
  },
  "luminance": 0.19378
}

Semantic roles & 50–950 ramp

primary
#9864BB
secondary
#BACFAB
accent
#CF5988
background
#FBF9FC
surface
#F6F1F9
border
#D0CBD2
text
#120D14
muted
#817E82

Preview Lab

Preview with #9864BB

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

Preview Lab → · Contrast checker → · Palette generator →

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