#9864E9#9864E9

#9864E9 is a light, vivid violet. Relative luminance 0.217; OKLCH L 62.1% C 0.194 H 298.6°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#9864E9
RGBrgb(152, 100, 233)
HSLhsl(263, 75%, 65%)
HSVhsv(263, 57%, 91%)
CMYKcmyk(34.8%, 57.1%, 0%, 8.6%)
CIE-LABlab(53.68, 48.26, -60.01)
CIE-LCHlch(53.68, 77.00, 308.81°)
OKLaboklab(62.11% 0.0929 -0.1701)
OKLCHoklch(62.11% 0.194 298.6)
XYZxyz(32.2104, 21.6726, 79.5612)
Luminance0.2167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9864E9 #B5E964
analogous
#6472E9 #9864E9 #DB64E9
triadic
#9864E9 #E99864 #64E998
tetradic
#9864E9 #E96472 #B5E964 #64E9DB
square
#9864E9 #E96472 #B5E964 #64E9DB
split-complementary
#9864E9 #E9DB64 #72E964
monochromatic
#581AB8 #742EE1 #9864E9 #BC9AF1 #DFCFF8

Accessibility & contrast

On white

3.94
#9864E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#9864E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9864E9
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9864E9#FFFFFF#000000##000000
##9864E91.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2180ED
Deuteranopia (green-blind)
#387FE6
Tritanopia (blue-blind)
#86809D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9864e9;
/* rgb */ color: rgb(152, 100, 233);
/* oklch */ color: oklch(62.1% 0.194 298.6);
Tailwind
colors: {
  custom: {
    50: '#bb92f1',
    500: '#9864e9',
    950: '#000000',
  },
}
SCSS
$custom: #9864e9;
$custom-light: #bb92f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9864e9",
  "rgb": {
    "r": 152,
    "g": 100,
    "b": 233
  },
  "hsl": {
    "h": 263.459,
    "s": 75.141,
    "l": 65.294
  },
  "oklch": {
    "l": 0.62108,
    "c": 0.19386,
    "h": 298.6
  },
  "luminance": 0.21673
}

Semantic roles & 50–950 ramp

primary
#9864E9
secondary
#D9EBBE
accent
#D70E89
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9864E9

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

Preview Lab → · Contrast checker → · Palette generator →

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