#9860DD#9860DD

#9860DD is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.7% C 0.185 H 301.8°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#9860DD
RGBrgb(152, 96, 221)
HSLhsl(267, 65%, 62%)
HSVhsv(267, 57%, 87%)
CMYKcmyk(31.2%, 56.6%, 0%, 13.3%)
CIE-LABlab(52.13, 47.44, -55.73)
CIE-LCHlch(52.13, 73.19, 310.41°)
OKLaboklab(60.74% 0.0977 -0.1576)
OKLCHoklch(60.74% 0.185 301.8)
XYZxyz(30.1799, 20.2615, 70.7135)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9860DD #A5DD60
analogous
#6067DD #9860DD #D760DD
triadic
#9860DD #DD9860 #60DD98
tetradic
#9860DD #DD6067 #A5DD60 #60DDD7
square
#9860DD #DD6067 #A5DD60 #60DDD7
split-complementary
#9860DD #DDD760 #67DD60
monochromatic
#5B22A0 #772ED2 #9860DD #B992E8 #D9C5F3

Accessibility & contrast

On white

4.16
#9860DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#9860DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9860DD
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9860DD#FFFFFF#000000##000000
##9860DD1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A7BE1
Deuteranopia (green-blind)
#407CDA
Tritanopia (blue-blind)
#8A7995
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9860dd;
/* rgb */ color: rgb(152, 96, 221);
/* oklch */ color: oklch(60.7% 0.185 301.8);
Tailwind
colors: {
  custom: {
    50: '#ba8fe8',
    500: '#9860dd',
    950: '#000000',
  },
}
SCSS
$custom: #9860dd;
$custom-light: #ba8fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#9860dd",
  "rgb": {
    "r": 152,
    "g": 96,
    "b": 221
  },
  "hsl": {
    "h": 266.88,
    "s": 64.767,
    "l": 62.157
  },
  "oklch": {
    "l": 0.6074,
    "c": 0.18543,
    "h": 301.8
  },
  "luminance": 0.20262
}

Semantic roles & 50–950 ramp

primary
#9860DD
secondary
#CFE3B5
accent
#CD197C
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120D16
muted
#817D84

Preview Lab

Preview with #9860DD

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

Preview Lab → · Contrast checker → · Palette generator →

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