#9864FE#9864FE

#9864FE is a light, highly saturated violet. Relative luminance 0.229; OKLCH L 63.5% C 0.219 H 295.0°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#9864FE
RGBrgb(152, 100, 254)
HSLhsl(260, 99%, 69%)
HSVhsv(260, 61%, 100%)
CMYKcmyk(40.2%, 60.6%, 0%, 0.4%)
CIE-LABlab(55.02, 53.61, -69.55)
CIE-LCHlch(55.02, 87.81, 307.63°)
OKLaboklab(63.51% 0.0923 -0.1982)
OKLCHoklch(63.51% 0.219 295)
XYZxyz(35.3907, 22.9447, 96.3109)
Luminance0.2295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9864FE #CAFE64
analogous
#647DFE #9864FE #E564FE
triadic
#9864FE #FE9864 #64FE98
tetradic
#9864FE #FE647D #CAFE64 #64FEE5
square
#9864FE #FE647D #CAFE64 #64FEE5
split-complementary
#9864FE #FEE564 #7DFE64
monochromatic
#4F01E6 #7027FE #9864FE #C0A1FE #E9DEFF

Accessibility & contrast

On white

3.76
#9864FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#9864FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9864FE
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9864FE#FFFFFF#000000##000000
##9864FE1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#0081FB
Tritanopia (blue-blind)
#7E86A8
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9864fe;
/* rgb */ color: rgb(152, 100, 254);
/* oklch */ color: oklch(63.5% 0.219 295.0);
Tailwind
colors: {
  custom: {
    50: '#bc92ff',
    500: '#9864fe',
    950: '#000000',
  },
}
SCSS
$custom: #9864fe;
$custom-light: #bc92ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9864fe",
  "rgb": {
    "r": 152,
    "g": 100,
    "b": 254
  },
  "hsl": {
    "h": 260.26,
    "s": 98.718,
    "l": 69.412
  },
  "oklch": {
    "l": 0.63511,
    "c": 0.21862,
    "h": 295
  },
  "luminance": 0.22946
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9864FE

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

Preview Lab → · Contrast checker → · Palette generator →

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