#9860DB#9860DB

#9860DB is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.6% C 0.183 H 302.3°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#9860DB
RGBrgb(152, 96, 219)
HSLhsl(267, 63%, 62%)
HSVhsv(267, 56%, 86%)
CMYKcmyk(30.6%, 56.2%, 0%, 14.1%)
CIE-LABlab(52.01, 46.95, -54.79)
CIE-LCHlch(52.01, 72.16, 310.60°)
OKLaboklab(60.61% 0.0977 -0.1548)
OKLCHoklch(60.61% 0.183 302.3)
XYZxyz(29.9150, 20.1556, 69.3185)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9860DB #A3DB60
analogous
#6066DB #9860DB #D660DB
triadic
#9860DB #DB9860 #60DB98
tetradic
#9860DB #DB6066 #A3DB60 #60DBD6
square
#9860DB #DB6066 #A3DB60 #60DBD6
split-complementary
#9860DB #DBD660 #66DB60
monochromatic
#5B249D #782FCF #9860DB #B892E6 #D9C4F2

Accessibility & contrast

On white

4.17
#9860DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#9860DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9860DB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9860DB#FFFFFF#000000##000000
##9860DB1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D7BDF
Deuteranopia (green-blind)
#427CD8
Tritanopia (blue-blind)
#8B7894
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9860db;
/* rgb */ color: rgb(152, 96, 219);
/* oklch */ color: oklch(60.6% 0.183 302.3);
Tailwind
colors: {
  custom: {
    50: '#ba8fe7',
    500: '#9860db',
    950: '#000000',
  },
}
SCSS
$custom: #9860db;
$custom-light: #ba8fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#9860db",
  "rgb": {
    "r": 152,
    "g": 96,
    "b": 219
  },
  "hsl": {
    "h": 267.317,
    "s": 63.077,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60615,
    "c": 0.18307,
    "h": 302.3
  },
  "luminance": 0.20156
}

Semantic roles & 50–950 ramp

primary
#9860DB
secondary
#CDE2B5
accent
#CB1B7B
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9860DB

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

Preview Lab → · Contrast checker → · Palette generator →

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