#9860E9#9860E9

#9860E9 is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.5% C 0.200 H 299.3°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#9860E9
RGBrgb(152, 96, 233)
HSLhsl(265, 76%, 65%)
HSVhsv(265, 59%, 91%)
CMYKcmyk(34.8%, 58.8%, 0%, 8.6%)
CIE-LABlab(52.87, 50.40, -61.31)
CIE-LCHlch(52.87, 79.37, 309.42°)
OKLaboklab(61.51% 0.0977 -0.174)
OKLCHoklch(61.51% 0.2 299.3)
XYZxyz(31.8361, 20.9240, 79.4365)
Luminance0.2092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9860E9 #B1E960
analogous
#606CE9 #9860E9 #DD60E9
triadic
#9860E9 #E99860 #60E998
tetradic
#9860E9 #E9606C #B1E960 #60E9DD
square
#9860E9 #E9606C #B1E960 #60E9DD
split-complementary
#9860E9 #E9DD60 #6CE960
monochromatic
#5919B5 #752AE2 #9860E9 #BB96F0 #DECCF8

Accessibility & contrast

On white

4.05
#9860E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#9860E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9860E9
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9860E9#FFFFFF#000000##000000
##9860E91.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D7EED
Deuteranopia (green-blind)
#317DE6
Tritanopia (blue-blind)
#867D9B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9860e9;
/* rgb */ color: rgb(152, 96, 233);
/* oklch */ color: oklch(61.5% 0.200 299.3);
Tailwind
colors: {
  custom: {
    50: '#bb8ff1',
    500: '#9860e9',
    950: '#000000',
  },
}
SCSS
$custom: #9860e9;
$custom-light: #bb8ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#9860e9",
  "rgb": {
    "r": 152,
    "g": 96,
    "b": 233
  },
  "hsl": {
    "h": 264.526,
    "s": 75.691,
    "l": 64.51
  },
  "oklch": {
    "l": 0.61513,
    "c": 0.19951,
    "h": 299.3
  },
  "luminance": 0.20924
}

Semantic roles & 50–950 ramp

primary
#9860E9
secondary
#D7EABB
accent
#D80E85
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120D17
muted
#817D85

Preview Lab

Preview with #9860E9

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

Preview Lab → · Contrast checker → · Palette generator →

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