#9855CB#9855CB

#9855CB is a mid, vivid violet. Relative luminance 0.175; OKLCH L 58.0% C 0.181 H 307.9°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9855CB
RGBrgb(152, 85, 203)
HSLhsl(274, 53%, 56%)
HSVhsv(274, 58%, 80%)
CMYKcmyk(25.1%, 58.1%, 0%, 20.4%)
CIE-LABlab(48.86, 48.99, -50.70)
CIE-LCHlch(48.86, 70.50, 314.02°)
OKLaboklab(58% 0.1113 -0.1428)
OKLCHoklch(58% 0.181 307.9)
XYZxyz(26.9747, 17.4846, 58.4422)
Luminance0.1748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9855CB #88CB55
analogous
#5D55CB #9855CB #CB55C3
triadic
#9855CB #CB9855 #55CB98
tetradic
#9855CB #CB5D55 #88CB55 #55C3CB
square
#9855CB #CB5D55 #88CB55 #55C3CB
split-complementary
#9855CB #C3CB55 #55CB5D
monochromatic
#59277F #7A35AE #9855CB #B484D9 #D1B3E8

Accessibility & contrast

On white

4.67
#9855CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#9855CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9855CB
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9855CB#FFFFFF#000000##FFFFFF
##9855CB1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2871CF
Deuteranopia (green-blind)
#4475C8
Tritanopia (blue-blind)
#906B88
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9855cb;
/* rgb */ color: rgb(152, 85, 203);
/* oklch */ color: oklch(58.0% 0.181 307.9);
Tailwind
colors: {
  custom: {
    50: '#b988db',
    500: '#9855cb',
    950: '#000000',
  },
}
SCSS
$custom: #9855cb;
$custom-light: #b988db;
$custom-dark: #000000;
JSON
{
  "hex": "#9855cb",
  "rgb": {
    "r": 152,
    "g": 85,
    "b": 203
  },
  "hsl": {
    "h": 274.068,
    "s": 53.153,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58004,
    "c": 0.18106,
    "h": 307.9
  },
  "luminance": 0.17484
}

Semantic roles & 50–950 ramp

primary
#9855CB
secondary
#BBD6A6
accent
#DD4B8A
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9855CB

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

Preview Lab → · Contrast checker → · Palette generator →

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