#9864FD#9864FD

#9864FD is a light, highly saturated violet. Relative luminance 0.229; OKLCH L 63.4% C 0.217 H 295.1°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#9864FD
RGBrgb(152, 100, 253)
HSLhsl(260, 97%, 69%)
HSVhsv(260, 60%, 99%)
CMYKcmyk(39.9%, 60.5%, 0%, 0.8%)
CIE-LABlab(54.95, 53.35, -69.10)
CIE-LCHlch(54.95, 87.30, 307.67°)
OKLaboklab(63.44% 0.0924 -0.1969)
OKLCHoklch(63.44% 0.217 295.1)
XYZxyz(35.2310, 22.8808, 95.4697)
Luminance0.2288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9864FD #C9FD64
analogous
#647DFD #9864FD #E464FD
triadic
#9864FD #FD9864 #64FD98
tetradic
#9864FD #FD647D #C9FD64 #64FDE4
square
#9864FD #FD647D #C9FD64 #64FDE4
split-complementary
#9864FD #FDE464 #7DFD64
monochromatic
#4F03E4 #7028FC #9864FD #C0A0FE #E8DDFF

Accessibility & contrast

On white

3.77
#9864FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#9864FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9864FD
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9864FD#FFFFFF#000000##000000
##9864FD1.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#0481FA
Tritanopia (blue-blind)
#7E86A7
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9864fd;
/* rgb */ color: rgb(152, 100, 253);
/* oklch */ color: oklch(63.4% 0.217 295.1);
Tailwind
colors: {
  custom: {
    50: '#bc92ff',
    500: '#9864fd',
    950: '#000000',
  },
}
SCSS
$custom: #9864fd;
$custom-light: #bc92ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9864fd",
  "rgb": {
    "r": 152,
    "g": 100,
    "b": 253
  },
  "hsl": {
    "h": 260.392,
    "s": 97.452,
    "l": 69.216
  },
  "oklch": {
    "l": 0.63442,
    "c": 0.21745,
    "h": 295.1
  },
  "luminance": 0.22882
}

Semantic roles & 50–950 ramp

primary
#9864FD
secondary
#E6F5C8
accent
#E60098
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #9864FD

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

Preview Lab → · Contrast checker → · Palette generator →

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