#9855C8#9855C8

#9855C8 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.8% C 0.178 H 308.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#9855C8
RGBrgb(152, 85, 200)
HSLhsl(275, 51%, 56%)
HSVhsv(275, 58%, 78%)
CMYKcmyk(24%, 57.5%, 0%, 21.6%)
CIE-LABlab(48.69, 48.30, -49.26)
CIE-LCHlch(48.69, 68.99, 314.44°)
OKLaboklab(57.82% 0.1113 -0.1386)
OKLCHoklch(57.82% 0.178 308.8)
XYZxyz(26.6207, 17.3429, 56.5775)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9855C8 #85C855
analogous
#5E55C8 #9855C8 #C855BE
triadic
#9855C8 #C89855 #55C898
tetradic
#9855C8 #C85E55 #85C855 #55BEC8
square
#9855C8 #C85E55 #85C855 #55BEC8
split-complementary
#9855C8 #BEC855 #55C85E
monochromatic
#58287B #7937A9 #9855C8 #B483D7 #D0B1E6

Accessibility & contrast

On white

4.70
#9855C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#9855C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9855C8
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9855C8#FFFFFF#000000##FFFFFF
##9855C81.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C71CC
Deuteranopia (green-blind)
#4675C5
Tritanopia (blue-blind)
#916A86
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9855c8;
/* rgb */ color: rgb(152, 85, 200);
/* oklch */ color: oklch(57.8% 0.178 308.8);
Tailwind
colors: {
  custom: {
    50: '#b988d9',
    500: '#9855c8',
    950: '#000000',
  },
}
SCSS
$custom: #9855c8;
$custom-light: #b988d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9855c8",
  "rgb": {
    "r": 152,
    "g": 85,
    "b": 200
  },
  "hsl": {
    "h": 274.957,
    "s": 51.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57819,
    "c": 0.17771,
    "h": 308.8
  },
  "luminance": 0.17343
}

Semantic roles & 50–950 ramp

primary
#9855C8
secondary
#B8D4A5
accent
#DB4D88
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C15
muted
#817D83

Preview Lab

Preview with #9855C8

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

Preview Lab → · Contrast checker → · Palette generator →

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