#9864EE#9864EE

#9864EE is a light, vivid violet. Relative luminance 0.220; OKLCH L 62.4% C 0.200 H 297.7°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#9864EE
RGBrgb(152, 100, 238)
HSLhsl(263, 80%, 66%)
HSVhsv(263, 58%, 93%)
CMYKcmyk(36.1%, 58%, 0%, 6.7%)
CIE-LABlab(53.99, 49.52, -62.31)
CIE-LCHlch(53.99, 79.59, 308.48°)
OKLaboklab(62.43% 0.0929 -0.1769)
OKLCHoklch(62.43% 0.2 297.7)
XYZxyz(32.9348, 21.9623, 83.3763)
Luminance0.2196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9864EE #BAEE64
analogous
#6475EE #9864EE #DD64EE
triadic
#9864EE #EE9864 #64EE98
tetradic
#9864EE #EE6475 #BAEE64 #64EEDD
square
#9864EE #EE6475 #BAEE64 #64EEDD
split-complementary
#9864EE #EEDD64 #75EE64
monochromatic
#5615C2 #732DE8 #9864EE #BD9BF4 #E1D2FA

Accessibility & contrast

On white

3.89
#9864EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#9864EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9864EE
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9864EE#FFFFFF#000000##000000
##9864EE1.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1481F3
Deuteranopia (green-blind)
#3080EB
Tritanopia (blue-blind)
#8481A0
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9864ee;
/* rgb */ color: rgb(152, 100, 238);
/* oklch */ color: oklch(62.4% 0.200 297.7);
Tailwind
colors: {
  custom: {
    50: '#bb92f4',
    500: '#9864ee',
    950: '#000000',
  },
}
SCSS
$custom: #9864ee;
$custom-light: #bb92f4;
$custom-dark: #000000;
JSON
{
  "hex": "#9864ee",
  "rgb": {
    "r": 152,
    "g": 100,
    "b": 238
  },
  "hsl": {
    "h": 262.609,
    "s": 80.233,
    "l": 66.275
  },
  "oklch": {
    "l": 0.62433,
    "c": 0.1998,
    "h": 297.7
  },
  "luminance": 0.21963
}

Semantic roles & 50–950 ramp

primary
#9864EE
secondary
#DCEDC0
accent
#DD098D
background
#FBF9FF
surface
#F7F1FE
border
#D0CBD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #9864EE

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

Preview Lab → · Contrast checker → · Palette generator →

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