#9864F2#9864F2

#9864F2 is a light, highly saturated violet. Relative luminance 0.222; OKLCH L 62.7% C 0.205 H 297.0°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#9864F2
RGBrgb(152, 100, 242)
HSLhsl(262, 85%, 67%)
HSVhsv(262, 59%, 95%)
CMYKcmyk(37.2%, 58.7%, 0%, 5.1%)
CIE-LABlab(54.24, 50.54, -64.13)
CIE-LCHlch(54.24, 81.65, 308.24°)
OKLaboklab(62.7% 0.0928 -0.1823)
OKLCHoklch(62.7% 0.205 297)
XYZxyz(33.5290, 22.2000, 86.5057)
Luminance0.2220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9864F2 #BEF264
analogous
#6477F2 #9864F2 #DF64F2
triadic
#9864F2 #F29864 #64F298
tetradic
#9864F2 #F26477 #BEF264 #64F2DF
square
#9864F2 #F26477 #BEF264 #64F2DF
split-complementary
#9864F2 #F2DF64 #77F264
monochromatic
#5511CB #722CED #9864F2 #BE9CF7 #E3D5FB

Accessibility & contrast

On white

3.86
#9864F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#9864F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9864F2
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9864F2#FFFFFF#000000##000000
##9864F21.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082F7
Deuteranopia (green-blind)
#2980EF
Tritanopia (blue-blind)
#8382A2
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9864f2;
/* rgb */ color: rgb(152, 100, 242);
/* oklch */ color: oklch(62.7% 0.205 297.0);
Tailwind
colors: {
  custom: {
    50: '#bb92f7',
    500: '#9864f2',
    950: '#000000',
  },
}
SCSS
$custom: #9864f2;
$custom-light: #bb92f7;
$custom-dark: #000000;
JSON
{
  "hex": "#9864f2",
  "rgb": {
    "r": 152,
    "g": 100,
    "b": 242
  },
  "hsl": {
    "h": 261.972,
    "s": 84.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.62698,
    "c": 0.20453,
    "h": 297
  },
  "luminance": 0.22201
}

Semantic roles & 50–950 ramp

primary
#9864F2
secondary
#DFEFC2
accent
#E10590
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #9864F2

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

Preview Lab → · Contrast checker → · Palette generator →

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