#9864E3#9864E3

#9864E3 is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.7% C 0.187 H 299.8°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#9864E3
RGBrgb(152, 100, 227)
HSLhsl(265, 69%, 64%)
HSVhsv(265, 56%, 89%)
CMYKcmyk(33%, 55.9%, 0%, 11%)
CIE-LABlab(53.31, 46.76, -57.22)
CIE-LCHlch(53.31, 73.89, 309.26°)
OKLaboklab(61.72% 0.0929 -0.162)
OKLCHoklch(61.72% 0.187 299.8)
XYZxyz(31.3679, 21.3356, 75.1237)
Luminance0.2134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9864E3 #AFE364
analogous
#6470E3 #9864E3 #D864E3
triadic
#9864E3 #E39864 #64E398
tetradic
#9864E3 #E36470 #AFE364 #64E3D8
square
#9864E3 #E36470 #AFE364 #64E3D8
split-complementary
#9864E3 #E3D864 #70E364
monochromatic
#591FAD #7630DA #9864E3 #BA98EC #DDCCF6

Accessibility & contrast

On white

3.99
#9864E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#9864E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9864E3
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9864E3#FFFFFF#000000##000000
##9864E31.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B7FE7
Deuteranopia (green-blind)
#3F7EE0
Tritanopia (blue-blind)
#887E9A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9864e3;
/* rgb */ color: rgb(152, 100, 227);
/* oklch */ color: oklch(61.7% 0.187 299.8);
Tailwind
colors: {
  custom: {
    50: '#ba92ec',
    500: '#9864e3',
    950: '#000000',
  },
}
SCSS
$custom: #9864e3;
$custom-light: #ba92ec;
$custom-dark: #000000;
JSON
{
  "hex": "#9864e3",
  "rgb": {
    "r": 152,
    "g": 100,
    "b": 227
  },
  "hsl": {
    "h": 264.567,
    "s": 69.399,
    "l": 64.118
  },
  "oklch": {
    "l": 0.61725,
    "c": 0.1867,
    "h": 299.8
  },
  "luminance": 0.21336
}

Semantic roles & 50–950 ramp

primary
#9864E3
secondary
#D5E8BB
accent
#D11484
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9864E3

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

Preview Lab → · Contrast checker → · Palette generator →

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