#9864F6#9864F6

#9864F6 is a light, highly saturated violet. Relative luminance 0.224; OKLCH L 63.0% C 0.209 H 296.3°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#9864F6
RGBrgb(152, 100, 246)
HSLhsl(261, 89%, 68%)
HSVhsv(261, 59%, 96%)
CMYKcmyk(38.2%, 59.3%, 0%, 3.5%)
CIE-LABlab(54.49, 51.56, -65.95)
CIE-LCHlch(54.49, 83.71, 308.02°)
OKLaboklab(62.97% 0.0927 -0.1876)
OKLCHoklch(62.97% 0.209 296.3)
XYZxyz(34.1363, 22.4429, 89.7043)
Luminance0.2244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9864F6 #C2F664
analogous
#6479F6 #9864F6 #E164F6
triadic
#9864F6 #F69864 #64F698
tetradic
#9864F6 #F66479 #C2F664 #64F6E1
square
#9864F6 #F66479 #C2F664 #64F6E1
split-complementary
#9864F6 #F6E164 #79F664
monochromatic
#530CD3 #722AF3 #9864F6 #BE9EF9 #E5D8FD

Accessibility & contrast

On white

3.83
#9864F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#9864F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9864F6
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9864F6#FFFFFF#000000##000000
##9864F61.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FB
Deuteranopia (green-blind)
#2180F3
Tritanopia (blue-blind)
#8184A4
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9864f6;
/* rgb */ color: rgb(152, 100, 246);
/* oklch */ color: oklch(63.0% 0.209 296.3);
Tailwind
colors: {
  custom: {
    50: '#bc92fa',
    500: '#9864f6',
    950: '#000000',
  },
}
SCSS
$custom: #9864f6;
$custom-light: #bc92fa;
$custom-dark: #000000;
JSON
{
  "hex": "#9864f6",
  "rgb": {
    "r": 152,
    "g": 100,
    "b": 246
  },
  "hsl": {
    "h": 261.37,
    "s": 89.024,
    "l": 67.843
  },
  "oklch": {
    "l": 0.62965,
    "c": 0.20925,
    "h": 296.3
  },
  "luminance": 0.22444
}

Semantic roles & 50–950 ramp

primary
#9864F6
secondary
#E1F1C4
accent
#E60094
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #9864F6

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

Preview Lab → · Contrast checker → · Palette generator →

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