#9855DD#9855DD

#9855DD is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.2% C 0.201 H 303.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9855DD
RGBrgb(152, 85, 221)
HSLhsl(270, 67%, 60%)
HSVhsv(270, 62%, 87%)
CMYKcmyk(31.2%, 61.5%, 0%, 13.3%)
CIE-LABlab(49.97, 53.20, -59.20)
CIE-LCHlch(49.97, 79.60, 311.94°)
OKLaboklab(59.16% 0.111 -0.1678)
OKLCHoklch(59.16% 0.201 303.5)
XYZxyz(29.2456, 18.3929, 70.4020)
Luminance0.1839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9855DD #9ADD55
analogous
#5556DD #9855DD #DC55DD
triadic
#9855DD #DD9855 #55DD98
tetradic
#9855DD #DD5556 #9ADD55 #55DDDC
square
#9855DD #DD5556 #9ADD55 #55DDDC
split-complementary
#9855DD #DDDC55 #56DD55
monochromatic
#5B1F99 #7929CC #9855DD #B788E7 #D6BBF1

Accessibility & contrast

On white

4.49
#9855DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#9855DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9855DD
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9855DD#FFFFFF#000000##000000
##9855DD1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E1
Deuteranopia (green-blind)
#2F77DA
Tritanopia (blue-blind)
#8B7191
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9855dd;
/* rgb */ color: rgb(152, 85, 221);
/* oklch */ color: oklch(59.2% 0.201 303.5);
Tailwind
colors: {
  custom: {
    50: '#bb88e8',
    500: '#9855dd',
    950: '#000000',
  },
}
SCSS
$custom: #9855dd;
$custom-light: #bb88e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9855dd",
  "rgb": {
    "r": 152,
    "g": 85,
    "b": 221
  },
  "hsl": {
    "h": 269.559,
    "s": 66.667,
    "l": 60
  },
  "oklch": {
    "l": 0.59162,
    "c": 0.20114,
    "h": 303.5
  },
  "luminance": 0.18393
}

Semantic roles & 50–950 ramp

primary
#9855DD
secondary
#C7E1AD
accent
#EA3E95
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9855DD

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

Preview Lab → · Contrast checker → · Palette generator →

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