#9855CF#9855CF

#9855CF is a mid, vivid violet. Relative luminance 0.177; OKLCH L 58.3% C 0.186 H 306.9°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9855CF
RGBrgb(152, 85, 207)
HSLhsl(273, 56%, 57%)
HSVhsv(273, 59%, 81%)
CMYKcmyk(26.6%, 58.9%, 0%, 18.8%)
CIE-LABlab(49.10, 49.91, -52.61)
CIE-LCHlch(49.10, 72.52, 313.49°)
OKLaboklab(58.25% 0.1113 -0.1484)
OKLCHoklch(58.25% 0.186 306.9)
XYZxyz(27.4575, 17.6777, 60.9850)
Luminance0.1768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9855CF #8CCF55
analogous
#5B55CF #9855CF #CF55C9
triadic
#9855CF #CF9855 #55CF98
tetradic
#9855CF #CF5B55 #8CCF55 #55C9CF
square
#9855CF #CF5B55 #8CCF55 #55C9CF
split-complementary
#9855CF #C9CF55 #55CF5B
monochromatic
#592584 #7A33B4 #9855CF #B585DC #D2B4EA

Accessibility & contrast

On white

4.63
#9855CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#9855CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9855CF
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9855CF#FFFFFF#000000##FFFFFF
##9855CF1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2272D3
Deuteranopia (green-blind)
#4075CC
Tritanopia (blue-blind)
#8F6D8A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9855cf;
/* rgb */ color: rgb(152, 85, 207);
/* oklch */ color: oklch(58.3% 0.186 306.9);
Tailwind
colors: {
  custom: {
    50: '#ba88de',
    500: '#9855cf',
    950: '#000000',
  },
}
SCSS
$custom: #9855cf;
$custom-light: #ba88de;
$custom-dark: #000000;
JSON
{
  "hex": "#9855cf",
  "rgb": {
    "r": 152,
    "g": 85,
    "b": 207
  },
  "hsl": {
    "h": 272.951,
    "s": 55.963,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58254,
    "c": 0.18553,
    "h": 306.9
  },
  "luminance": 0.17677
}

Semantic roles & 50–950 ramp

primary
#9855CF
secondary
#BDD9A7
accent
#DF498C
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9855CF

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

Preview Lab → · Contrast checker → · Palette generator →

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