#9855CC#9855CC

#9855CC is a mid, vivid violet. Relative luminance 0.175; OKLCH L 58.1% C 0.182 H 307.7°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9855CC
RGBrgb(152, 85, 204)
HSLhsl(274, 54%, 57%)
HSVhsv(274, 58%, 80%)
CMYKcmyk(25.5%, 58.3%, 0%, 20%)
CIE-LABlab(48.92, 49.22, -51.18)
CIE-LCHlch(48.92, 71.01, 313.88°)
OKLaboklab(58.07% 0.1113 -0.1442)
OKLCHoklch(58.07% 0.182 307.7)
XYZxyz(27.0943, 17.5324, 59.0718)
Luminance0.1753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9855CC #89CC55
analogous
#5D55CC #9855CC #CC55C4
triadic
#9855CC #CC9855 #55CC98
tetradic
#9855CC #CC5D55 #89CC55 #55C4CC
square
#9855CC #CC5D55 #89CC55 #55C4CC
split-complementary
#9855CC #C4CC55 #55CC5D
monochromatic
#592680 #7A35AF #9855CC #B584DA #D1B3E8

Accessibility & contrast

On white

4.66
#9855CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#9855CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9855CC
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9855CC#FFFFFF#000000##FFFFFF
##9855CC1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2672D0
Deuteranopia (green-blind)
#4375C9
Tritanopia (blue-blind)
#906C88
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9855cc;
/* rgb */ color: rgb(152, 85, 204);
/* oklch */ color: oklch(58.1% 0.182 307.7);
Tailwind
colors: {
  custom: {
    50: '#ba88dc',
    500: '#9855cc',
    950: '#000000',
  },
}
SCSS
$custom: #9855cc;
$custom-light: #ba88dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9855cc",
  "rgb": {
    "r": 152,
    "g": 85,
    "b": 204
  },
  "hsl": {
    "h": 273.782,
    "s": 53.846,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58066,
    "c": 0.18218,
    "h": 307.7
  },
  "luminance": 0.17532
}

Semantic roles & 50–950 ramp

primary
#9855CC
secondary
#BBD7A6
accent
#DD4B8B
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9855CC

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

Preview Lab → · Contrast checker → · Palette generator →

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