#9860EC#9860EC

#9860EC is a mid, highly saturated violet. Relative luminance 0.211; OKLCH L 61.7% C 0.203 H 298.7°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9860EC
RGBrgb(152, 96, 236)
HSLhsl(264, 79%, 65%)
HSVhsv(264, 59%, 93%)
CMYKcmyk(35.6%, 59.3%, 0%, 7.5%)
CIE-LABlab(53.06, 51.15, -62.69)
CIE-LCHlch(53.06, 80.91, 309.21°)
OKLaboklab(61.71% 0.0976 -0.178)
OKLCHoklch(61.71% 0.203 298.7)
XYZxyz(32.2683, 21.0969, 81.7127)
Luminance0.2110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9860EC #B4EC60
analogous
#606EEC #9860EC #DE60EC
triadic
#9860EC #EC9860 #60EC98
tetradic
#9860EC #EC606E #B4EC60 #60ECDE
square
#9860EC #EC606E #B4EC60 #60ECDE
split-complementary
#9860EC #ECDE60 #6EEC60
monochromatic
#5816BB #7529E5 #9860EC #BB97F3 #DFCDF9

Accessibility & contrast

On white

4.02
#9860EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#9860EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9860EC
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9860EC#FFFFFF#000000##000000
##9860EC1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF1
Deuteranopia (green-blind)
#2C7DE9
Tritanopia (blue-blind)
#857E9D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9860ec;
/* rgb */ color: rgb(152, 96, 236);
/* oklch */ color: oklch(61.7% 0.203 298.7);
Tailwind
colors: {
  custom: {
    50: '#bb8ff3',
    500: '#9860ec',
    950: '#000000',
  },
}
SCSS
$custom: #9860ec;
$custom-light: #bb8ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#9860ec",
  "rgb": {
    "r": 152,
    "g": 96,
    "b": 236
  },
  "hsl": {
    "h": 264,
    "s": 78.652,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61712,
    "c": 0.20301,
    "h": 298.7
  },
  "luminance": 0.21097
}

Semantic roles & 50–950 ramp

primary
#9860EC
secondary
#D9ECBC
accent
#DB0B88
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120D17
muted
#817D85

Preview Lab

Preview with #9860EC

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

Preview Lab → · Contrast checker → · Palette generator →

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