#9864E5#9864E5

#9864E5 is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.9% C 0.189 H 299.4°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#9864E5
RGBrgb(152, 100, 229)
HSLhsl(264, 71%, 65%)
HSVhsv(264, 56%, 90%)
CMYKcmyk(33.6%, 56.3%, 0%, 10.2%)
CIE-LABlab(53.43, 47.26, -58.15)
CIE-LCHlch(53.43, 74.93, 309.10°)
OKLaboklab(61.85% 0.0929 -0.1647)
OKLCHoklch(61.85% 0.189 299.4)
XYZxyz(31.6455, 21.4466, 76.5859)
Luminance0.2145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9864E5 #B1E564
analogous
#6471E5 #9864E5 #D964E5
triadic
#9864E5 #E59864 #64E598
tetradic
#9864E5 #E56471 #B1E564 #64E5D9
square
#9864E5 #E56471 #B1E564 #64E5D9
split-complementary
#9864E5 #E5D964 #71E564
monochromatic
#591EB1 #7530DC #9864E5 #BB98EE #DECDF7

Accessibility & contrast

On white

3.97
#9864E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#9864E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9864E5
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9864E5#FFFFFF#000000##000000
##9864E51.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#287FE9
Deuteranopia (green-blind)
#3D7FE2
Tritanopia (blue-blind)
#887E9B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9864e5;
/* rgb */ color: rgb(152, 100, 229);
/* oklch */ color: oklch(61.9% 0.189 299.4);
Tailwind
colors: {
  custom: {
    50: '#ba92ee',
    500: '#9864e5',
    950: '#000000',
  },
}
SCSS
$custom: #9864e5;
$custom-light: #ba92ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9864e5",
  "rgb": {
    "r": 152,
    "g": 100,
    "b": 229
  },
  "hsl": {
    "h": 264.186,
    "s": 71.271,
    "l": 64.51
  },
  "oklch": {
    "l": 0.61851,
    "c": 0.1891,
    "h": 299.4
  },
  "luminance": 0.21447
}

Semantic roles & 50–950 ramp

primary
#9864E5
secondary
#D7E9BC
accent
#D31285
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9864E5

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

Preview Lab → · Contrast checker → · Palette generator →

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