#9855DB#9855DB

#9855DB is a mid, vivid violet. Relative luminance 0.183; OKLCH L 59.0% C 0.199 H 303.9°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9855DB
RGBrgb(152, 85, 219)
HSLhsl(270, 65%, 60%)
HSVhsv(270, 61%, 86%)
CMYKcmyk(30.6%, 61.2%, 0%, 14.1%)
CIE-LABlab(49.84, 52.73, -58.27)
CIE-LCHlch(49.84, 78.59, 312.14°)
OKLaboklab(59.03% 0.1111 -0.165)
OKLCHoklch(59.03% 0.199 303.9)
XYZxyz(28.9807, 18.2870, 69.0071)
Luminance0.1829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9855DB #98DB55
analogous
#5555DB #9855DB #DB55DB
triadic
#9855DB #DB9855 #55DB98
tetradic
#9855DB #DB5555 #98DB55 #55DBDB
square
#9855DB #DB5555 #98DB55 #55DBDB
split-complementary
#9855DB #DBDB55 #55DB55
monochromatic
#5B2096 #792AC8 #9855DB #B788E6 #D5BAF0

Accessibility & contrast

On white

4.51
#9855DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#9855DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9855DB
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9855DB#FFFFFF#000000##000000
##9855DB1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075DF
Deuteranopia (green-blind)
#3276D8
Tritanopia (blue-blind)
#8C7190
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9855db;
/* rgb */ color: rgb(152, 85, 219);
/* oklch */ color: oklch(59.0% 0.199 303.9);
Tailwind
colors: {
  custom: {
    50: '#ba88e7',
    500: '#9855db',
    950: '#000000',
  },
}
SCSS
$custom: #9855db;
$custom-light: #ba88e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9855db",
  "rgb": {
    "r": 152,
    "g": 85,
    "b": 219
  },
  "hsl": {
    "h": 270,
    "s": 65.049,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59029,
    "c": 0.19891,
    "h": 303.9
  },
  "luminance": 0.18287
}

Semantic roles & 50–950 ramp

primary
#9855DB
secondary
#C6E0AC
accent
#E84094
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9855DB

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

Preview Lab → · Contrast checker → · Palette generator →

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