#9864DE#9864DE

#9864DE is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.4% C 0.181 H 300.9°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#9864DE
RGBrgb(152, 100, 222)
HSLhsl(266, 65%, 63%)
HSVhsv(266, 55%, 87%)
CMYKcmyk(31.5%, 55%, 0%, 12.9%)
CIE-LABlab(53.02, 45.52, -54.87)
CIE-LCHlch(53.02, 71.30, 309.68°)
OKLaboklab(61.41% 0.0928 -0.1551)
OKLCHoklch(61.41% 0.181 300.9)
XYZxyz(30.6878, 21.0635, 71.5420)
Luminance0.2106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9864DE #AADE64
analogous
#646DDE #9864DE #D564DE
triadic
#9864DE #DE9864 #64DE98
tetradic
#9864DE #DE646D #AADE64 #64DED5
square
#9864DE #DE646D #AADE64 #64DED5
split-complementary
#9864DE #DED564 #6DDE64
monochromatic
#5A23A5 #7632D3 #9864DE #BA96E9 #DBC9F3

Accessibility & contrast

On white

4.03
#9864DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#9864DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9864DE
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9864DE#FFFFFF#000000##000000
##9864DE1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#327EE2
Deuteranopia (green-blind)
#447EDB
Tritanopia (blue-blind)
#8A7C97
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9864de;
/* rgb */ color: rgb(152, 100, 222);
/* oklch */ color: oklch(61.4% 0.181 300.9);
Tailwind
colors: {
  custom: {
    50: '#ba92e9',
    500: '#9864de',
    950: '#000000',
  },
}
SCSS
$custom: #9864de;
$custom-light: #ba92e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9864de",
  "rgb": {
    "r": 152,
    "g": 100,
    "b": 222
  },
  "hsl": {
    "h": 265.574,
    "s": 64.894,
    "l": 63.137
  },
  "oklch": {
    "l": 0.61412,
    "c": 0.18071,
    "h": 300.9
  },
  "luminance": 0.21064
}

Semantic roles & 50–950 ramp

primary
#9864DE
secondary
#D2E5B9
accent
#CD1980
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9864DE

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

Preview Lab → · Contrast checker → · Palette generator →

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