#9864F3#9864F3

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

Color values

HEX#9864F3
RGBrgb(152, 100, 243)
HSLhsl(262, 86%, 67%)
HSVhsv(262, 59%, 95%)
CMYKcmyk(37.4%, 58.8%, 0%, 4.7%)
CIE-LABlab(54.30, 50.79, -64.59)
CIE-LCHlch(54.30, 82.17, 308.18°)
OKLaboklab(62.76% 0.0928 -0.1836)
OKLCHoklch(62.76% 0.206 296.8)
XYZxyz(33.6796, 22.2602, 87.2989)
Luminance0.2226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9864F3 #BFF364
analogous
#6478F3 #9864F3 #DF64F3
triadic
#9864F3 #F39864 #64F398
tetradic
#9864F3 #F36478 #BFF364 #64F3DF
square
#9864F3 #F36478 #BFF364 #64F3DF
split-complementary
#9864F3 #F3DF64 #78F364
monochromatic
#5510CD #722BEF #9864F3 #BE9DF7 #E3D6FC

Accessibility & contrast

On white

3.85
#9864F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#9864F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9864F3
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9864F3#FFFFFF#000000##000000
##9864F31.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082F8
Deuteranopia (green-blind)
#2780F0
Tritanopia (blue-blind)
#8283A2
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9864f3;
/* rgb */ color: rgb(152, 100, 243);
/* oklch */ color: oklch(62.8% 0.206 296.8);
Tailwind
colors: {
  custom: {
    50: '#bb92f8',
    500: '#9864f3',
    950: '#000000',
  },
}
SCSS
$custom: #9864f3;
$custom-light: #bb92f8;
$custom-dark: #000000;
JSON
{
  "hex": "#9864f3",
  "rgb": {
    "r": 152,
    "g": 100,
    "b": 243
  },
  "hsl": {
    "h": 261.818,
    "s": 85.629,
    "l": 67.255
  },
  "oklch": {
    "l": 0.62764,
    "c": 0.20572,
    "h": 296.8
  },
  "luminance": 0.22261
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9864F3

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

Preview Lab → · Contrast checker → · Palette generator →

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