#9864EB#9864EB

#9864EB is a light, vivid violet. Relative luminance 0.218; OKLCH L 62.2% C 0.196 H 298.3°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#9864EB
RGBrgb(152, 100, 235)
HSLhsl(263, 77%, 66%)
HSVhsv(263, 57%, 92%)
CMYKcmyk(35.3%, 57.4%, 0%, 7.8%)
CIE-LABlab(53.80, 48.76, -60.93)
CIE-LCHlch(53.80, 78.04, 308.67°)
OKLaboklab(62.24% 0.0929 -0.1728)
OKLCHoklch(62.24% 0.196 298.3)
XYZxyz(32.4977, 21.7875, 81.0744)
Luminance0.2179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9864EB #B7EB64
analogous
#6473EB #9864EB #DB64EB
triadic
#9864EB #EB9864 #64EB98
tetradic
#9864EB #EB6473 #B7EB64 #64EBDB
square
#9864EB #EB6473 #B7EB64 #64EBDB
split-complementary
#9864EB #EBDB64 #73EB64
monochromatic
#5718BC #742EE4 #9864EB #BC9AF2 #E0D0F9

Accessibility & contrast

On white

3.92
#9864EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#9864EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9864EB
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9864EB#FFFFFF#000000##000000
##9864EB1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C81EF
Deuteranopia (green-blind)
#357FE8
Tritanopia (blue-blind)
#85809E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9864eb;
/* rgb */ color: rgb(152, 100, 235);
/* oklch */ color: oklch(62.2% 0.196 298.3);
Tailwind
colors: {
  custom: {
    50: '#bb92f2',
    500: '#9864eb',
    950: '#000000',
  },
}
SCSS
$custom: #9864eb;
$custom-light: #bb92f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9864eb",
  "rgb": {
    "r": 152,
    "g": 100,
    "b": 235
  },
  "hsl": {
    "h": 263.111,
    "s": 77.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.62237,
    "c": 0.19624,
    "h": 298.3
  },
  "luminance": 0.21788
}

Semantic roles & 50–950 ramp

primary
#9864EB
secondary
#DBECBF
accent
#D90C8A
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9864EB

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

Preview Lab → · Contrast checker → · Palette generator →

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