#9855CE#9855CE

#9855CE is a mid, vivid violet. Relative luminance 0.176; OKLCH L 58.2% C 0.184 H 307.1°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#9855CE
RGBrgb(152, 85, 206)
HSLhsl(273, 55%, 57%)
HSVhsv(273, 59%, 81%)
CMYKcmyk(26.2%, 58.7%, 0%, 19.2%)
CIE-LABlab(49.04, 49.68, -52.14)
CIE-LCHlch(49.04, 72.02, 313.62°)
OKLaboklab(58.19% 0.1113 -0.147)
OKLCHoklch(58.19% 0.184 307.1)
XYZxyz(27.3357, 17.6289, 60.3432)
Luminance0.1763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9855CE #8BCE55
analogous
#5C55CE #9855CE #CE55C8
triadic
#9855CE #CE9855 #55CE98
tetradic
#9855CE #CE5C55 #8BCE55 #55C8CE
square
#9855CE #CE5C55 #8BCE55 #55C8CE
split-complementary
#9855CE #C8CE55 #55CE5C
monochromatic
#592683 #7A33B2 #9855CE #B585DC #D2B4E9

Accessibility & contrast

On white

4.64
#9855CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#9855CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9855CE
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9855CE#FFFFFF#000000##FFFFFF
##9855CE1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2372D2
Deuteranopia (green-blind)
#4175CB
Tritanopia (blue-blind)
#906C89
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9855ce;
/* rgb */ color: rgb(152, 85, 206);
/* oklch */ color: oklch(58.2% 0.184 307.1);
Tailwind
colors: {
  custom: {
    50: '#ba88de',
    500: '#9855ce',
    950: '#000000',
  },
}
SCSS
$custom: #9855ce;
$custom-light: #ba88de;
$custom-dark: #000000;
JSON
{
  "hex": "#9855ce",
  "rgb": {
    "r": 152,
    "g": 85,
    "b": 206
  },
  "hsl": {
    "h": 273.223,
    "s": 55.251,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58191,
    "c": 0.18441,
    "h": 307.1
  },
  "luminance": 0.17629
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9855CE

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

Preview Lab → · Contrast checker → · Palette generator →

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