#9860EF#9860EF

#9860EF is a mid, highly saturated violet. Relative luminance 0.213; OKLCH L 61.9% C 0.207 H 298.2°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9860EF
RGBrgb(152, 96, 239)
HSLhsl(263, 82%, 66%)
HSVhsv(263, 60%, 94%)
CMYKcmyk(36.4%, 59.8%, 0%, 6.3%)
CIE-LABlab(53.25, 51.90, -64.06)
CIE-LCHlch(53.25, 82.45, 309.02°)
OKLaboklab(61.91% 0.0975 -0.182)
OKLCHoklch(61.91% 0.207 298.2)
XYZxyz(32.7078, 21.2727, 84.0274)
Luminance0.2127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9860EF #B7EF60
analogous
#606FEF #9860EF #E060EF
triadic
#9860EF #EF9860 #60EF98
tetradic
#9860EF #EF606F #B7EF60 #60EFE0
square
#9860EF #EF606F #B7EF60 #60EFE0
split-complementary
#9860EF #EFE060 #6FEF60
monochromatic
#5713C1 #7428E9 #9860EF #BC98F5 #E0CFFA

Accessibility & contrast

On white

4.00
#9860EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#9860EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9860EF
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9860EF#FFFFFF#000000##000000
##9860EF1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF4
Deuteranopia (green-blind)
#267EEC
Tritanopia (blue-blind)
#847F9F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9860ef;
/* rgb */ color: rgb(152, 96, 239);
/* oklch */ color: oklch(61.9% 0.207 298.2);
Tailwind
colors: {
  custom: {
    50: '#bb8ff5',
    500: '#9860ef',
    950: '#000000',
  },
}
SCSS
$custom: #9860ef;
$custom-light: #bb8ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#9860ef",
  "rgb": {
    "r": 152,
    "g": 96,
    "b": 239
  },
  "hsl": {
    "h": 263.497,
    "s": 81.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.61913,
    "c": 0.20651,
    "h": 298.2
  },
  "luminance": 0.21273
}

Semantic roles & 50–950 ramp

primary
#9860EF
secondary
#DBEDBE
accent
#DE078A
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#120D17
muted
#817D85

Preview Lab

Preview with #9860EF

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

Preview Lab → · Contrast checker → · Palette generator →

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