#9860EB#9860EB

#9860EB is a mid, highly saturated violet. Relative luminance 0.210; OKLCH L 61.6% C 0.202 H 298.9°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#9860EB
RGBrgb(152, 96, 235)
HSLhsl(264, 78%, 65%)
HSVhsv(264, 59%, 92%)
CMYKcmyk(35.3%, 59.1%, 0%, 7.8%)
CIE-LABlab(52.99, 50.90, -62.23)
CIE-LCHlch(52.99, 80.40, 309.28°)
OKLaboklab(61.65% 0.0976 -0.1767)
OKLCHoklch(61.65% 0.202 298.9)
XYZxyz(32.1235, 21.0390, 80.9497)
Luminance0.2104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9860EB #B3EB60
analogous
#606DEB #9860EB #DE60EB
triadic
#9860EB #EB9860 #60EB98
tetradic
#9860EB #EB606D #B3EB60 #60EBDE
square
#9860EB #EB606D #B3EB60 #60EBDE
split-complementary
#9860EB #EBDE60 #6DEB60
monochromatic
#5917B9 #752AE4 #9860EB #BB96F2 #DECDF9

Accessibility & contrast

On white

4.03
#9860EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#9860EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9860EB
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9860EB#FFFFFF#000000##000000
##9860EB1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#027EEF
Deuteranopia (green-blind)
#2D7DE8
Tritanopia (blue-blind)
#867E9D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9860eb;
/* rgb */ color: rgb(152, 96, 235);
/* oklch */ color: oklch(61.6% 0.202 298.9);
Tailwind
colors: {
  custom: {
    50: '#bb8ff2',
    500: '#9860eb',
    950: '#000000',
  },
}
SCSS
$custom: #9860eb;
$custom-light: #bb8ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#9860eb",
  "rgb": {
    "r": 152,
    "g": 96,
    "b": 235
  },
  "hsl": {
    "h": 264.173,
    "s": 77.654,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61646,
    "c": 0.20185,
    "h": 298.9
  },
  "luminance": 0.21039
}

Semantic roles & 50–950 ramp

primary
#9860EB
secondary
#D8EBBC
accent
#DA0C87
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120D17
muted
#817D85

Preview Lab

Preview with #9860EB

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

Preview Lab → · Contrast checker → · Palette generator →

#9860EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva