#9855DC#9855DC

#9855DC is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.1% C 0.200 H 303.7°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9855DC
RGBrgb(152, 85, 220)
HSLhsl(270, 66%, 60%)
HSVhsv(270, 61%, 86%)
CMYKcmyk(30.9%, 61.4%, 0%, 13.7%)
CIE-LABlab(49.91, 52.97, -58.74)
CIE-LCHlch(49.91, 79.09, 312.04°)
OKLaboklab(59.1% 0.111 -0.1664)
OKLCHoklch(59.1% 0.2 303.7)
XYZxyz(29.1127, 18.3398, 69.7025)
Luminance0.1834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9855DC #99DC55
analogous
#5555DC #9855DC #DC55DC
triadic
#9855DC #DC9855 #55DC98
tetradic
#9855DC #DC5555 #99DC55 #55DCDC
square
#9855DC #DC5555 #99DC55 #55DCDC
split-complementary
#9855DC #DCDC55 #55DC55
monochromatic
#5B1F97 #792ACA #9855DC #B788E6 #D5BBF1

Accessibility & contrast

On white

4.50
#9855DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#9855DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9855DC
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9855DC#FFFFFF#000000##000000
##9855DC1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#3177D9
Tritanopia (blue-blind)
#8B7191
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9855dc;
/* rgb */ color: rgb(152, 85, 220);
/* oklch */ color: oklch(59.1% 0.200 303.7);
Tailwind
colors: {
  custom: {
    50: '#bb88e8',
    500: '#9855dc',
    950: '#000000',
  },
}
SCSS
$custom: #9855dc;
$custom-light: #bb88e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9855dc",
  "rgb": {
    "r": 152,
    "g": 85,
    "b": 220
  },
  "hsl": {
    "h": 269.778,
    "s": 65.854,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59096,
    "c": 0.20003,
    "h": 303.7
  },
  "luminance": 0.1834
}

Semantic roles & 50–950 ramp

primary
#9855DC
secondary
#C7E0AC
accent
#E93F95
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9855DC

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

Preview Lab → · Contrast checker → · Palette generator →

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