#9864EF#9864EF

#9864EF is a light, highly saturated violet. Relative luminance 0.220; OKLCH L 62.5% C 0.201 H 297.5°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#9864EF
RGBrgb(152, 100, 239)
HSLhsl(262, 81%, 66%)
HSVhsv(262, 58%, 94%)
CMYKcmyk(36.4%, 58.2%, 0%, 6.3%)
CIE-LABlab(54.05, 49.77, -62.77)
CIE-LCHlch(54.05, 80.11, 308.42°)
OKLaboklab(62.5% 0.0929 -0.1782)
OKLCHoklch(62.5% 0.201 297.5)
XYZxyz(33.0821, 22.0213, 84.1522)
Luminance0.2202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9864EF #BBEF64
analogous
#6476EF #9864EF #DE64EF
triadic
#9864EF #EF9864 #64EF98
tetradic
#9864EF #EF6476 #BBEF64 #64EFDE
square
#9864EF #EF6476 #BBEF64 #64EFDE
split-complementary
#9864EF #EFDE64 #76EF64
monochromatic
#5614C4 #732DE9 #9864EF #BD9BF5 #E2D3FA

Accessibility & contrast

On white

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

On black

5.40
#9864EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9864EF
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9864EF#FFFFFF#000000##000000
##9864EF1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1082F4
Deuteranopia (green-blind)
#2F80EC
Tritanopia (blue-blind)
#8482A0
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9864ef;
/* rgb */ color: rgb(152, 100, 239);
/* oklch */ color: oklch(62.5% 0.201 297.5);
Tailwind
colors: {
  custom: {
    50: '#bb92f5',
    500: '#9864ef',
    950: '#000000',
  },
}
SCSS
$custom: #9864ef;
$custom-light: #bb92f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9864ef",
  "rgb": {
    "r": 152,
    "g": 100,
    "b": 239
  },
  "hsl": {
    "h": 262.446,
    "s": 81.287,
    "l": 66.471
  },
  "oklch": {
    "l": 0.62499,
    "c": 0.20099,
    "h": 297.5
  },
  "luminance": 0.22022
}

Semantic roles & 50–950 ramp

primary
#9864EF
secondary
#DDEEC1
accent
#DE088E
background
#FBF9FF
surface
#F7F1FE
border
#D0CBD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #9864EF

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

Preview Lab → · Contrast checker → · Palette generator →

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