#9855AE#9855AE

#9855AE is a mid, vivid purple. Relative luminance 0.162; OKLCH L 56.3% C 0.149 H 317.3°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#9855AE
RGBrgb(152, 85, 174)
HSLhsl(285, 35%, 51%)
HSVhsv(285, 51%, 68%)
CMYKcmyk(12.6%, 51.1%, 0%, 31.8%)
CIE-LABlab(47.27, 42.58, -36.40)
CIE-LCHlch(47.27, 56.01, 319.48°)
OKLaboklab(56.32% 0.1094 -0.1011)
OKLCHoklch(56.32% 0.149 317.3)
XYZxyz(23.8363, 16.2292, 41.9131)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9855AE #6BAE55
analogous
#6B55AE #9855AE #AE5597
triadic
#9855AE #AE9855 #55AE98
tetradic
#9855AE #AE6B55 #6BAE55 #5597AE
square
#9855AE #AE6B55 #6BAE55 #5597AE
split-complementary
#9855AE #97AE55 #55AE6B
monochromatic
#512C5D #754086 #9855AE #B17EC2 #CAA8D5

Accessibility & contrast

On white

4.95
#9855AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#9855AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9855AE
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9855AE#FFFFFF#000000##FFFFFF
##9855AE1.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436CB1
Deuteranopia (green-blind)
#5872AC
Tritanopia (blue-blind)
#97627A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9855ae;
/* rgb */ color: rgb(152, 85, 174);
/* oklch */ color: oklch(56.3% 0.149 317.3);
Tailwind
colors: {
  custom: {
    50: '#b887c6',
    500: '#9855ae',
    950: '#000000',
  },
}
SCSS
$custom: #9855ae;
$custom-light: #b887c6;
$custom-dark: #000000;
JSON
{
  "hex": "#9855ae",
  "rgb": {
    "r": 152,
    "g": 85,
    "b": 174
  },
  "hsl": {
    "h": 285.169,
    "s": 35.458,
    "l": 50.784
  },
  "oklch": {
    "l": 0.56319,
    "c": 0.14897,
    "h": 317.3
  },
  "luminance": 0.16228
}

Semantic roles & 50–950 ramp

primary
#9855AE
secondary
#A5C39C
accent
#CB5C78
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #9855AE

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

Preview Lab → · Contrast checker → · Palette generator →

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