#9864BC#9864BC

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

Color values

HEX#9864BC
RGBrgb(152, 100, 188)
HSLhsl(275, 40%, 56%)
HSVhsv(275, 47%, 74%)
CMYKcmyk(19.1%, 46.8%, 0%, 26.3%)
CIE-LABlab(51.18, 37.42, -38.39)
CIE-LCHlch(51.18, 53.61, 314.27°)
OKLaboklab(59.45% 0.0899 -0.107)
OKLCHoklch(59.45% 0.14 310)
XYZxyz(26.5815, 19.4210, 49.9155)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9864BC #88BC64
analogous
#6C64BC #9864BC #BC64B4
triadic
#9864BC #BC9864 #64BC98
tetradic
#9864BC #BC6C64 #88BC64 #64B4BC
square
#9864BC #BC6C64 #88BC64 #64B4BC
split-complementary
#9864BC #B4BC64 #64BC6C
monochromatic
#593274 #7A449E #9864BC #B48FCE #D1B9E1

Accessibility & contrast

On white

4.30
#9864BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9864BC#FFFFFF#000000##000000
##9864BC1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F77BF
Deuteranopia (green-blind)
#5D7BBA
Tritanopia (blue-blind)
#947287
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9864bc;
/* rgb */ color: rgb(152, 100, 188);
/* oklch */ color: oklch(59.4% 0.140 310.0);
Tailwind
colors: {
  custom: {
    50: '#b891d0',
    500: '#9864bc',
    950: '#000000',
  },
}
SCSS
$custom: #9864bc;
$custom-light: #b891d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9864bc",
  "rgb": {
    "r": 152,
    "g": 100,
    "b": 188
  },
  "hsl": {
    "h": 275.455,
    "s": 39.64,
    "l": 56.471
  },
  "oklch": {
    "l": 0.59448,
    "c": 0.1397,
    "h": 310
  },
  "luminance": 0.19421
}

Semantic roles & 50–950 ramp

primary
#9864BC
secondary
#BBD0AC
accent
#D05889
background
#FBF9FC
surface
#F6F1F9
border
#D0CBD2
text
#120D14
muted
#817E82

Preview Lab

Preview with #9864BC

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

Preview Lab → · Contrast checker → · Palette generator →

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