#9862EF#9862EF

#9862EF is a light, highly saturated violet. Relative luminance 0.216; OKLCH L 62.2% C 0.204 H 297.9°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#9862EF
RGBrgb(152, 98, 239)
HSLhsl(263, 82%, 66%)
HSVhsv(263, 59%, 94%)
CMYKcmyk(36.4%, 59%, 0%, 6.3%)
CIE-LABlab(53.65, 50.84, -63.42)
CIE-LCHlch(53.65, 81.28, 308.72°)
OKLaboklab(62.2% 0.0952 -0.1802)
OKLCHoklch(62.2% 0.204 297.9)
XYZxyz(32.8926, 21.6423, 84.0890)
Luminance0.2164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9862EF #B9EF62
analogous
#6272EF #9862EF #DF62EF
triadic
#9862EF #EF9862 #62EF98
tetradic
#9862EF #EF6272 #B9EF62 #62EFDF
square
#9862EF #EF6272 #B9EF62 #62EFDF
split-complementary
#9862EF #EFDF62 #72EF62
monochromatic
#5714C3 #742AE9 #9862EF #BC9AF5 #E1D1FA

Accessibility & contrast

On white

3.94
#9862EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#9862EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9862EF
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9862EF#FFFFFF#000000##000000
##9862EF1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F4
Deuteranopia (green-blind)
#2B7FEC
Tritanopia (blue-blind)
#84809F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9862ef;
/* rgb */ color: rgb(152, 98, 239);
/* oklch */ color: oklch(62.2% 0.204 297.9);
Tailwind
colors: {
  custom: {
    50: '#bb91f5',
    500: '#9862ef',
    950: '#000000',
  },
}
SCSS
$custom: #9862ef;
$custom-light: #bb91f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9862ef",
  "rgb": {
    "r": 152,
    "g": 98,
    "b": 239
  },
  "hsl": {
    "h": 262.979,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.62203,
    "c": 0.20376,
    "h": 297.9
  },
  "luminance": 0.21643
}

Semantic roles & 50–950 ramp

primary
#9862EF
secondary
#DCEEBF
accent
#DE088C
background
#FCF9FF
surface
#F8F1FE
border
#D1CBD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #9862EF

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

Preview Lab → · Contrast checker → · Palette generator →

#9862EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva