#9864F0#9864F0

#9864F0 is a light, highly saturated violet. Relative luminance 0.221; OKLCH L 62.6% C 0.202 H 297.3°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#9864F0
RGBrgb(152, 100, 240)
HSLhsl(262, 82%, 67%)
HSVhsv(262, 58%, 94%)
CMYKcmyk(36.7%, 58.3%, 0%, 5.9%)
CIE-LABlab(54.11, 50.03, -63.22)
CIE-LCHlch(54.11, 80.62, 308.36°)
OKLaboklab(62.57% 0.0929 -0.1796)
OKLCHoklch(62.57% 0.202 297.3)
XYZxyz(33.2303, 22.0805, 84.9324)
Luminance0.2208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9864F0 #BCF064
analogous
#6476F0 #9864F0 #DE64F0
triadic
#9864F0 #F09864 #64F098
tetradic
#9864F0 #F06476 #BCF064 #64F0DE
square
#9864F0 #F06476 #BCF064 #64F0DE
split-complementary
#9864F0 #F0DE64 #76F064
monochromatic
#5613C6 #732CEB #9864F0 #BD9CF5 #E2D4FB

Accessibility & contrast

On white

3.88
#9864F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#9864F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9864F0
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9864F0#FFFFFF#000000##000000
##9864F01.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B82F5
Deuteranopia (green-blind)
#2D80ED
Tritanopia (blue-blind)
#8382A1
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9864f0;
/* rgb */ color: rgb(152, 100, 240);
/* oklch */ color: oklch(62.6% 0.202 297.3);
Tailwind
colors: {
  custom: {
    50: '#bb92f6',
    500: '#9864f0',
    950: '#000000',
  },
}
SCSS
$custom: #9864f0;
$custom-light: #bb92f6;
$custom-dark: #000000;
JSON
{
  "hex": "#9864f0",
  "rgb": {
    "r": 152,
    "g": 100,
    "b": 240
  },
  "hsl": {
    "h": 262.286,
    "s": 82.353,
    "l": 66.667
  },
  "oklch": {
    "l": 0.62565,
    "c": 0.20217,
    "h": 297.3
  },
  "luminance": 0.22081
}

Semantic roles & 50–950 ramp

primary
#9864F0
secondary
#DEEEC1
accent
#DF078F
background
#FBF9FF
surface
#F7F1FF
border
#D0CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #9864F0

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

Preview Lab → · Contrast checker → · Palette generator →

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