#9862EE#9862EE

#9862EE is a light, highly saturated violet. Relative luminance 0.216; OKLCH L 62.1% C 0.203 H 298.0°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#9862EE
RGBrgb(152, 98, 238)
HSLhsl(263, 80%, 66%)
HSVhsv(263, 59%, 93%)
CMYKcmyk(36.1%, 58.8%, 0%, 6.7%)
CIE-LABlab(53.58, 50.59, -62.96)
CIE-LCHlch(53.58, 80.77, 308.78°)
OKLaboklab(62.14% 0.0952 -0.1788)
OKLCHoklch(62.14% 0.203 298)
XYZxyz(32.7453, 21.5834, 83.3132)
Luminance0.2158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9862EE #B8EE62
analogous
#6272EE #9862EE #DE62EE
triadic
#9862EE #EE9862 #62EE98
tetradic
#9862EE #EE6272 #B8EE62 #62EEDE
square
#9862EE #EE6272 #B8EE62 #62EEDE
split-complementary
#9862EE #EEDE62 #72EE62
monochromatic
#5715C1 #742BE8 #9862EE #BC99F4 #E0D0FA

Accessibility & contrast

On white

3.95
#9862EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#9862EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9862EE
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9862EE#FFFFFF#000000##000000
##9862EE1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0480F3
Deuteranopia (green-blind)
#2C7FEB
Tritanopia (blue-blind)
#84809F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9862ee;
/* rgb */ color: rgb(152, 98, 238);
/* oklch */ color: oklch(62.1% 0.203 298.0);
Tailwind
colors: {
  custom: {
    50: '#bb91f4',
    500: '#9862ee',
    950: '#000000',
  },
}
SCSS
$custom: #9862ee;
$custom-light: #bb91f4;
$custom-dark: #000000;
JSON
{
  "hex": "#9862ee",
  "rgb": {
    "r": 152,
    "g": 98,
    "b": 238
  },
  "hsl": {
    "h": 263.143,
    "s": 80.46,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62137,
    "c": 0.20259,
    "h": 298
  },
  "luminance": 0.21584
}

Semantic roles & 50–950 ramp

primary
#9862EE
secondary
#DBEDBF
accent
#DD098B
background
#FBF9FF
surface
#F7F1FE
border
#D0CBD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #9862EE

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

Preview Lab → · Contrast checker → · Palette generator →

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