#9864EA#9864EA

#9864EA is a light, vivid violet. Relative luminance 0.217; OKLCH L 62.2% C 0.195 H 298.4°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#9864EA
RGBrgb(152, 100, 234)
HSLhsl(263, 76%, 65%)
HSVhsv(263, 57%, 92%)
CMYKcmyk(35%, 57.3%, 0%, 8.2%)
CIE-LABlab(53.74, 48.51, -60.47)
CIE-LCHlch(53.74, 77.52, 308.74°)
OKLaboklab(62.17% 0.0929 -0.1715)
OKLCHoklch(62.17% 0.195 298.4)
XYZxyz(32.3537, 21.7299, 80.3157)
Luminance0.2173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9864EA #B6EA64
analogous
#6473EA #9864EA #DB64EA
triadic
#9864EA #EA9864 #64EA98
tetradic
#9864EA #EA6473 #B6EA64 #64EADB
square
#9864EA #EA6473 #B6EA64 #64EADB
split-complementary
#9864EA #EADB64 #73EA64
monochromatic
#5819BA #742EE3 #9864EA #BC9AF1 #E0D0F9

Accessibility & contrast

On white

3.93
#9864EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#9864EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9864EA
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9864EA#FFFFFF#000000##000000
##9864EA1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F81EE
Deuteranopia (green-blind)
#367FE7
Tritanopia (blue-blind)
#86809E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9864ea;
/* rgb */ color: rgb(152, 100, 234);
/* oklch */ color: oklch(62.2% 0.195 298.4);
Tailwind
colors: {
  custom: {
    50: '#bb92f1',
    500: '#9864ea',
    950: '#000000',
  },
}
SCSS
$custom: #9864ea;
$custom-light: #bb92f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9864ea",
  "rgb": {
    "r": 152,
    "g": 100,
    "b": 234
  },
  "hsl": {
    "h": 263.284,
    "s": 76.136,
    "l": 65.49
  },
  "oklch": {
    "l": 0.62172,
    "c": 0.19505,
    "h": 298.4
  },
  "luminance": 0.2173
}

Semantic roles & 50–950 ramp

primary
#9864EA
secondary
#DAEBBE
accent
#D80D89
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9864EA

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

Preview Lab → · Contrast checker → · Palette generator →

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