#9864EC#9864EC

#9864EC is a light, vivid violet. Relative luminance 0.218; OKLCH L 62.3% C 0.197 H 298.1°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#9864EC
RGBrgb(152, 100, 236)
HSLhsl(263, 78%, 66%)
HSVhsv(263, 58%, 93%)
CMYKcmyk(35.6%, 57.6%, 0%, 7.5%)
CIE-LABlab(53.86, 49.02, -61.39)
CIE-LCHlch(53.86, 78.56, 308.61°)
OKLaboklab(62.3% 0.0929 -0.1742)
OKLCHoklch(62.3% 0.197 298.1)
XYZxyz(32.6426, 21.8455, 81.8374)
Luminance0.2185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9864EC #B8EC64
analogous
#6474EC #9864EC #DC64EC
triadic
#9864EC #EC9864 #64EC98
tetradic
#9864EC #EC6474 #B8EC64 #64ECDC
square
#9864EC #EC6474 #B8EC64 #64ECDC
split-complementary
#9864EC #ECDC64 #74EC64
monochromatic
#5717BE #742DE5 #9864EC #BC9BF3 #E0D1F9

Accessibility & contrast

On white

3.91
#9864EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#9864EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9864EC
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9864EC#FFFFFF#000000##000000
##9864EC1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A81F0
Deuteranopia (green-blind)
#347FE9
Tritanopia (blue-blind)
#85819F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9864ec;
/* rgb */ color: rgb(152, 100, 236);
/* oklch */ color: oklch(62.3% 0.197 298.1);
Tailwind
colors: {
  custom: {
    50: '#bb92f3',
    500: '#9864ec',
    950: '#000000',
  },
}
SCSS
$custom: #9864ec;
$custom-light: #bb92f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9864ec",
  "rgb": {
    "r": 152,
    "g": 100,
    "b": 236
  },
  "hsl": {
    "h": 262.941,
    "s": 78.161,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62302,
    "c": 0.19744,
    "h": 298.1
  },
  "luminance": 0.21846
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9864EC

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

Preview Lab → · Contrast checker → · Palette generator →

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