#9860DC#9860DC

#9860DC is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.7% C 0.184 H 302.0°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#9860DC
RGBrgb(152, 96, 220)
HSLhsl(267, 64%, 62%)
HSVhsv(267, 56%, 86%)
CMYKcmyk(30.9%, 56.4%, 0%, 13.7%)
CIE-LABlab(52.07, 47.20, -55.26)
CIE-LCHlch(52.07, 72.67, 310.50°)
OKLaboklab(60.68% 0.0977 -0.1562)
OKLCHoklch(60.68% 0.184 302)
XYZxyz(30.0471, 20.2084, 70.0139)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9860DC #A4DC60
analogous
#6066DC #9860DC #D660DC
triadic
#9860DC #DC9860 #60DC98
tetradic
#9860DC #DC6066 #A4DC60 #60DCD6
square
#9860DC #DC6066 #A4DC60 #60DCD6
split-complementary
#9860DC #DCD660 #66DC60
monochromatic
#5B239F #782ED1 #9860DC #B892E7 #D9C4F2

Accessibility & contrast

On white

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

On black

5.04
#9860DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9860DC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9860DC#FFFFFF#000000##000000
##9860DC1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B7BE0
Deuteranopia (green-blind)
#417CD9
Tritanopia (blue-blind)
#8B7995
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9860dc;
/* rgb */ color: rgb(152, 96, 220);
/* oklch */ color: oklch(60.7% 0.184 302.0);
Tailwind
colors: {
  custom: {
    50: '#ba8fe7',
    500: '#9860dc',
    950: '#000000',
  },
}
SCSS
$custom: #9860dc;
$custom-light: #ba8fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#9860dc",
  "rgb": {
    "r": 152,
    "g": 96,
    "b": 220
  },
  "hsl": {
    "h": 267.097,
    "s": 63.918,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60677,
    "c": 0.18426,
    "h": 302
  },
  "luminance": 0.20208
}

Semantic roles & 50–950 ramp

primary
#9860DC
secondary
#CEE3B5
accent
#CC1A7B
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9860DC

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

Preview Lab → · Contrast checker → · Palette generator →

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