#9864E1#9864E1

#9864E1 is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.6% C 0.184 H 300.3°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9864E1
RGBrgb(152, 100, 225)
HSLhsl(265, 68%, 64%)
HSVhsv(265, 56%, 88%)
CMYKcmyk(32.4%, 55.6%, 0%, 11.8%)
CIE-LABlab(53.20, 46.26, -56.28)
CIE-LCHlch(53.20, 72.86, 309.42°)
OKLaboklab(61.6% 0.0929 -0.1592)
OKLCHoklch(61.6% 0.184 300.3)
XYZxyz(31.0934, 21.2258, 73.6784)
Luminance0.2123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9864E1 #ADE164
analogous
#646EE1 #9864E1 #D664E1
triadic
#9864E1 #E19864 #64E198
tetradic
#9864E1 #E1646E #ADE164 #64E1D6
square
#9864E1 #E1646E #ADE164 #64E1D6
split-complementary
#9864E1 #E1D664 #6EE164
monochromatic
#5A21AA #7631D7 #9864E1 #BA97EB #DCCBF5

Accessibility & contrast

On white

4.00
#9864E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#9864E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9864E1
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9864E1#FFFFFF#000000##000000
##9864E11.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E7FE5
Deuteranopia (green-blind)
#417EDE
Tritanopia (blue-blind)
#897D99
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9864e1;
/* rgb */ color: rgb(152, 100, 225);
/* oklch */ color: oklch(61.6% 0.184 300.3);
Tailwind
colors: {
  custom: {
    50: '#ba92eb',
    500: '#9864e1',
    950: '#000000',
  },
}
SCSS
$custom: #9864e1;
$custom-light: #ba92eb;
$custom-dark: #000000;
JSON
{
  "hex": "#9864e1",
  "rgb": {
    "r": 152,
    "g": 100,
    "b": 225
  },
  "hsl": {
    "h": 264.96,
    "s": 67.568,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61599,
    "c": 0.18431,
    "h": 300.3
  },
  "luminance": 0.21226
}

Semantic roles & 50–950 ramp

primary
#9864E1
secondary
#D4E6BA
accent
#CF1682
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9864E1

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

Preview Lab → · Contrast checker → · Palette generator →

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