#9864F4#9864F4

#9864F4 is a light, highly saturated violet. Relative luminance 0.223; OKLCH L 62.8% C 0.207 H 296.6°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#9864F4
RGBrgb(152, 100, 244)
HSLhsl(262, 87%, 67%)
HSVhsv(262, 59%, 96%)
CMYKcmyk(37.7%, 59%, 0%, 4.3%)
CIE-LABlab(54.37, 51.05, -65.04)
CIE-LCHlch(54.37, 82.68, 308.12°)
OKLaboklab(62.83% 0.0927 -0.1849)
OKLCHoklch(62.83% 0.207 296.6)
XYZxyz(33.8310, 22.3208, 88.0963)
Luminance0.2232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9864F4 #C0F464
analogous
#6478F4 #9864F4 #E064F4
triadic
#9864F4 #F49864 #64F498
tetradic
#9864F4 #F46478 #C0F464 #64F4E0
square
#9864F4 #F46478 #C0F464 #64F4E0
split-complementary
#9864F4 #F4E064 #78F464
monochromatic
#540FCF #722BF0 #9864F4 #BE9DF8 #E4D6FC

Accessibility & contrast

On white

3.84
#9864F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#9864F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9864F4
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9864F4#FFFFFF#000000##000000
##9864F41.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083F9
Deuteranopia (green-blind)
#2580F1
Tritanopia (blue-blind)
#8283A3
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9864f4;
/* rgb */ color: rgb(152, 100, 244);
/* oklch */ color: oklch(62.8% 0.207 296.6);
Tailwind
colors: {
  custom: {
    50: '#bc92f9',
    500: '#9864f4',
    950: '#000000',
  },
}
SCSS
$custom: #9864f4;
$custom-light: #bc92f9;
$custom-dark: #000000;
JSON
{
  "hex": "#9864f4",
  "rgb": {
    "r": 152,
    "g": 100,
    "b": 244
  },
  "hsl": {
    "h": 261.667,
    "s": 86.747,
    "l": 67.451
  },
  "oklch": {
    "l": 0.62831,
    "c": 0.2069,
    "h": 296.6
  },
  "luminance": 0.22321
}

Semantic roles & 50–950 ramp

primary
#9864F4
secondary
#E0F0C3
accent
#E30292
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #9864F4

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

Preview Lab → · Contrast checker → · Palette generator →

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