#9864F9#9864F9

#9864F9 is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 63.2% C 0.213 H 295.8°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#9864F9
RGBrgb(152, 100, 249)
HSLhsl(261, 93%, 68%)
HSVhsv(261, 60%, 98%)
CMYKcmyk(39%, 59.8%, 0%, 2.4%)
CIE-LABlab(54.69, 52.33, -67.30)
CIE-LCHlch(54.69, 85.25, 307.86°)
OKLaboklab(63.17% 0.0925 -0.1916)
OKLCHoklch(63.17% 0.213 295.8)
XYZxyz(34.6005, 22.6286, 92.1489)
Luminance0.2263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9864F9 #C5F964
analogous
#647AF9 #9864F9 #E364F9
triadic
#9864F9 #F99864 #64F998
tetradic
#9864F9 #F9647A #C5F964 #64F9E3
square
#9864F9 #F9647A #C5F964 #64F9E3
split-complementary
#9864F9 #F9E364 #7AF964
monochromatic
#5208DA #7129F7 #9864F9 #BF9FFB #E6DAFE

Accessibility & contrast

On white

3.80
#9864F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#9864F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9864F9
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9864F9#FFFFFF#000000##000000
##9864F91.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FE
Deuteranopia (green-blind)
#1881F6
Tritanopia (blue-blind)
#8085A5
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9864f9;
/* rgb */ color: rgb(152, 100, 249);
/* oklch */ color: oklch(63.2% 0.213 295.8);
Tailwind
colors: {
  custom: {
    50: '#bc92fc',
    500: '#9864f9',
    950: '#000000',
  },
}
SCSS
$custom: #9864f9;
$custom-light: #bc92fc;
$custom-dark: #000000;
JSON
{
  "hex": "#9864f9",
  "rgb": {
    "r": 152,
    "g": 100,
    "b": 249
  },
  "hsl": {
    "h": 260.94,
    "s": 92.547,
    "l": 68.431
  },
  "oklch": {
    "l": 0.63169,
    "c": 0.21277,
    "h": 295.8
  },
  "luminance": 0.22629
}

Semantic roles & 50–950 ramp

primary
#9864F9
secondary
#E3F3C6
accent
#E60095
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #9864F9

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

Preview Lab → · Contrast checker → · Palette generator →

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