#9864CF#9864CF

#9864CF is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.5% C 0.163 H 304.4°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#9864CF
RGBrgb(152, 100, 207)
HSLhsl(269, 53%, 60%)
HSVhsv(269, 52%, 81%)
CMYKcmyk(26.6%, 51.7%, 0%, 18.8%)
CIE-LABlab(52.17, 41.87, -47.72)
CIE-LCHlch(52.17, 63.48, 311.26°)
OKLaboklab(60.51% 0.092 -0.1341)
OKLCHoklch(60.51% 0.163 304.4)
XYZxyz(28.7661, 20.2949, 61.4212)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9864CF #9BCF64
analogous
#6465CF #9864CF #CD64CF
triadic
#9864CF #CF9864 #64CF98
tetradic
#9864CF #CF6465 #9BCF64 #64CFCD
square
#9864CF #CF6465 #9BCF64 #64CFCD
split-complementary
#9864CF #CFCD64 #65CF64
monochromatic
#5B2C8D #793ABC #9864CF #B793DD #D6C1EC

Accessibility & contrast

On white

4.15
#9864CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#9864CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9864CF
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9864CF#FFFFFF#000000##000000
##9864CF1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#427BD3
Deuteranopia (green-blind)
#517CCC
Tritanopia (blue-blind)
#8F7790
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9864cf;
/* rgb */ color: rgb(152, 100, 207);
/* oklch */ color: oklch(60.5% 0.163 304.4);
Tailwind
colors: {
  custom: {
    50: '#b992de',
    500: '#9864cf',
    950: '#000000',
  },
}
SCSS
$custom: #9864cf;
$custom-light: #b992de;
$custom-dark: #000000;
JSON
{
  "hex": "#9864cf",
  "rgb": {
    "r": 152,
    "g": 100,
    "b": 207
  },
  "hsl": {
    "h": 269.159,
    "s": 52.709,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60509,
    "c": 0.16263,
    "h": 304.4
  },
  "luminance": 0.20295
}

Semantic roles & 50–950 ramp

primary
#9864CF
secondary
#C8DCB3
accent
#C02575
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9864CF

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

Preview Lab → · Contrast checker → · Palette generator →

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