#9864ED#9864ED

#9864ED is a light, vivid violet. Relative luminance 0.219; OKLCH L 62.4% C 0.199 H 297.9°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#9864ED
RGBrgb(152, 100, 237)
HSLhsl(263, 79%, 66%)
HSVhsv(263, 58%, 93%)
CMYKcmyk(35.9%, 57.8%, 0%, 7.1%)
CIE-LABlab(53.92, 49.27, -61.85)
CIE-LCHlch(53.92, 79.07, 308.54°)
OKLaboklab(62.37% 0.0929 -0.1756)
OKLCHoklch(62.37% 0.199 297.9)
XYZxyz(32.7883, 21.9037, 82.6047)
Luminance0.2190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9864ED #B9ED64
analogous
#6474ED #9864ED #DD64ED
triadic
#9864ED #ED9864 #64ED98
tetradic
#9864ED #ED6474 #B9ED64 #64EDDD
square
#9864ED #ED6474 #B9ED64 #64EDDD
split-complementary
#9864ED #EDDD64 #74ED64
monochromatic
#5716C0 #742DE7 #9864ED #BC9BF3 #E1D2FA

Accessibility & contrast

On white

3.90
#9864ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#9864ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9864ED
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9864ED#FFFFFF#000000##000000
##9864ED1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1781F1
Deuteranopia (green-blind)
#327FEA
Tritanopia (blue-blind)
#85819F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9864ed;
/* rgb */ color: rgb(152, 100, 237);
/* oklch */ color: oklch(62.4% 0.199 297.9);
Tailwind
colors: {
  custom: {
    50: '#bb92f4',
    500: '#9864ed',
    950: '#000000',
  },
}
SCSS
$custom: #9864ed;
$custom-light: #bb92f4;
$custom-dark: #000000;
JSON
{
  "hex": "#9864ed",
  "rgb": {
    "r": 152,
    "g": 100,
    "b": 237
  },
  "hsl": {
    "h": 262.774,
    "s": 79.191,
    "l": 66.078
  },
  "oklch": {
    "l": 0.62368,
    "c": 0.19862,
    "h": 297.9
  },
  "luminance": 0.21904
}

Semantic roles & 50–950 ramp

primary
#9864ED
secondary
#DCEDC0
accent
#DB0A8C
background
#FBF9FF
surface
#F7F1FE
border
#D0CBD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #9864ED

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

Preview Lab → · Contrast checker → · Palette generator →

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