#9864BD#9864BD

#9864BD is a mid, vivid violet. Relative luminance 0.195; OKLCH L 59.5% C 0.141 H 309.7°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#9864BD
RGBrgb(152, 100, 189)
HSLhsl(275, 40%, 57%)
HSVhsv(275, 47%, 74%)
CMYKcmyk(19.6%, 47.1%, 0%, 25.9%)
CIE-LABlab(51.23, 37.65, -38.89)
CIE-LCHlch(51.23, 54.13, 314.07°)
OKLaboklab(59.5% 0.09 -0.1084)
OKLCHoklch(59.5% 0.141 309.7)
XYZxyz(26.6897, 19.4643, 50.4852)
Luminance0.1946 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9864BD #89BD64
analogous
#6C64BD #9864BD #BD64B6
triadic
#9864BD #BD9864 #64BD98
tetradic
#9864BD #BD6C64 #89BD64 #64B6BD
square
#9864BD #BD6C64 #89BD64 #64B6BD
split-complementary
#9864BD #B6BD64 #64BD6C
monochromatic
#593275 #7A44A0 #9864BD #B58FCF #D1BAE2

Accessibility & contrast

On white

4.29
#9864BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#9864BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9864BD
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9864BD#FFFFFF#000000##000000
##9864BD1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F78C0
Deuteranopia (green-blind)
#5D7BBB
Tritanopia (blue-blind)
#937288
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9864bd;
/* rgb */ color: rgb(152, 100, 189);
/* oklch */ color: oklch(59.5% 0.141 309.7);
Tailwind
colors: {
  custom: {
    50: '#b891d1',
    500: '#9864bd',
    950: '#000000',
  },
}
SCSS
$custom: #9864bd;
$custom-light: #b891d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9864bd",
  "rgb": {
    "r": 152,
    "g": 100,
    "b": 189
  },
  "hsl": {
    "h": 275.056,
    "s": 40.271,
    "l": 56.667
  },
  "oklch": {
    "l": 0.59501,
    "c": 0.1409,
    "h": 309.7
  },
  "luminance": 0.19464
}

Semantic roles & 50–950 ramp

primary
#9864BD
secondary
#BBD1AC
accent
#D0588A
background
#FBF9FC
surface
#F6F1F9
border
#D0CBD2
text
#120D14
muted
#817E82

Preview Lab

Preview with #9864BD

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

Preview Lab → · Contrast checker → · Palette generator →

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