#9860E4#9860E4

#9860E4 is a mid, vivid violet. Relative luminance 0.206; OKLCH L 61.2% C 0.194 H 300.3°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#9860E4
RGBrgb(152, 96, 228)
HSLhsl(265, 71%, 64%)
HSVhsv(265, 58%, 89%)
CMYKcmyk(33.3%, 57.9%, 0%, 10.6%)
CIE-LABlab(52.56, 49.16, -59.00)
CIE-LCHlch(52.56, 76.80, 309.80°)
OKLaboklab(61.19% 0.0978 -0.1672)
OKLCHoklch(61.19% 0.194 300.3)
XYZxyz(31.1320, 20.6424, 75.7280)
Luminance0.2064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9860E4 #ACE460
analogous
#606AE4 #9860E4 #DA60E4
triadic
#9860E4 #E49860 #60E498
tetradic
#9860E4 #E4606A #ACE460 #60E4DA
square
#9860E4 #E4606A #ACE460 #60E4DA
split-complementary
#9860E4 #E4DA60 #6AE460
monochromatic
#5A1DAC #762CDB #9860E4 #BA94ED #DCC9F6

Accessibility & contrast

On white

4.09
#9860E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#9860E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9860E4
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9860E4#FFFFFF#000000##000000
##9860E41.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D7DE8
Deuteranopia (green-blind)
#387DE1
Tritanopia (blue-blind)
#887B99
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9860e4;
/* rgb */ color: rgb(152, 96, 228);
/* oklch */ color: oklch(61.2% 0.194 300.3);
Tailwind
colors: {
  custom: {
    50: '#bb8fed',
    500: '#9860e4',
    950: '#000000',
  },
}
SCSS
$custom: #9860e4;
$custom-light: #bb8fed;
$custom-dark: #000000;
JSON
{
  "hex": "#9860e4",
  "rgb": {
    "r": 152,
    "g": 96,
    "b": 228
  },
  "hsl": {
    "h": 265.455,
    "s": 70.968,
    "l": 63.529
  },
  "oklch": {
    "l": 0.61187,
    "c": 0.19366,
    "h": 300.3
  },
  "luminance": 0.20643
}

Semantic roles & 50–950 ramp

primary
#9860E4
secondary
#D3E7B9
accent
#D31381
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120D16
muted
#817D84

Preview Lab

Preview with #9860E4

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

Preview Lab → · Contrast checker → · Palette generator →

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