#9864BF#9864BF

#9864BF is a mid, vivid violet. Relative luminance 0.196; OKLCH L 59.6% C 0.143 H 309.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#9864BF
RGBrgb(152, 100, 191)
HSLhsl(274, 42%, 57%)
HSVhsv(274, 48%, 75%)
CMYKcmyk(20.4%, 47.6%, 0%, 25.1%)
CIE-LABlab(51.33, 38.11, -39.89)
CIE-LCHlch(51.33, 55.17, 313.70°)
OKLaboklab(59.61% 0.0903 -0.1113)
OKLCHoklch(59.61% 0.143 309)
XYZxyz(26.9082, 19.5517, 51.6364)
Luminance0.1955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9864BF #8BBF64
analogous
#6B64BF #9864BF #BF64B9
triadic
#9864BF #BF9864 #64BF98
tetradic
#9864BF #BF6B64 #8BBF64 #64B9BF
square
#9864BF #BF6B64 #8BBF64 #64B9BF
split-complementary
#9864BF #B9BF64 #64BF6B
monochromatic
#593177 #7A43A3 #9864BF #B58FD1 #D2BBE3

Accessibility & contrast

On white

4.28
#9864BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#9864BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9864BF
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9864BF#FFFFFF#000000##000000
##9864BF1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E78C2
Deuteranopia (green-blind)
#5C7BBD
Tritanopia (blue-blind)
#937388
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9864bf;
/* rgb */ color: rgb(152, 100, 191);
/* oklch */ color: oklch(59.6% 0.143 309.0);
Tailwind
colors: {
  custom: {
    50: '#b891d3',
    500: '#9864bf',
    950: '#000000',
  },
}
SCSS
$custom: #9864bf;
$custom-light: #b891d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9864bf",
  "rgb": {
    "r": 152,
    "g": 100,
    "b": 191
  },
  "hsl": {
    "h": 274.286,
    "s": 41.553,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59609,
    "c": 0.14331,
    "h": 309
  },
  "luminance": 0.19551
}

Semantic roles & 50–950 ramp

primary
#9864BF
secondary
#BDD2AD
accent
#D1568B
background
#FBF9FC
surface
#F6F1F9
border
#D0CBD2
text
#120D14
muted
#817E82

Preview Lab

Preview with #9864BF

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

Preview Lab → · Contrast checker → · Palette generator →

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