#9861DD#9861DD

#9861DD is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.9% C 0.184 H 301.6°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#9861DD
RGBrgb(152, 97, 221)
HSLhsl(267, 65%, 62%)
HSVhsv(267, 56%, 87%)
CMYKcmyk(31.2%, 56.1%, 0%, 13.3%)
CIE-LABlab(52.34, 46.90, -55.40)
CIE-LCHlch(52.34, 72.59, 310.25°)
OKLaboklab(60.89% 0.0965 -0.1566)
OKLCHoklch(60.89% 0.184 301.6)
XYZxyz(30.2717, 20.4452, 70.7441)
Luminance0.2044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9861DD #A6DD61
analogous
#6168DD #9861DD #D661DD
triadic
#9861DD #DD9861 #61DD98
tetradic
#9861DD #DD6168 #A6DD61 #61DDD6
square
#9861DD #DD6168 #A6DD61 #61DDD6
split-complementary
#9861DD #DDD661 #68DD61
monochromatic
#5B23A1 #772FD2 #9861DD #B993E8 #DAC6F3

Accessibility & contrast

On white

4.13
#9861DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#9861DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9861DD
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9861DD#FFFFFF#000000##000000
##9861DD1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C7CE1
Deuteranopia (green-blind)
#417CDA
Tritanopia (blue-blind)
#8A7A96
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9861dd;
/* rgb */ color: rgb(152, 97, 221);
/* oklch */ color: oklch(60.9% 0.184 301.6);
Tailwind
colors: {
  custom: {
    50: '#ba90e8',
    500: '#9861dd',
    950: '#000000',
  },
}
SCSS
$custom: #9861dd;
$custom-light: #ba90e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9861dd",
  "rgb": {
    "r": 152,
    "g": 97,
    "b": 221
  },
  "hsl": {
    "h": 266.613,
    "s": 64.583,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60891,
    "c": 0.18396,
    "h": 301.6
  },
  "luminance": 0.20445
}

Semantic roles & 50–950 ramp

primary
#9861DD
secondary
#CFE4B6
accent
#CC197D
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120D16
muted
#817D84

Preview Lab

Preview with #9861DD

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

Preview Lab → · Contrast checker → · Palette generator →

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