#9855BD#9855BD

#9855BD is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.2% C 0.165 H 312.0°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#9855BD
RGBrgb(152, 85, 189)
HSLhsl(279, 44%, 54%)
HSVhsv(279, 55%, 74%)
CMYKcmyk(19.6%, 55%, 0%, 25.9%)
CIE-LABlab(48.07, 45.83, -43.89)
CIE-LCHlch(48.07, 63.46, 316.24°)
OKLaboklab(57.16% 0.1108 -0.1229)
OKLCHoklch(57.16% 0.165 312)
XYZxyz(25.3811, 16.8471, 50.0490)
Luminance0.1685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9855BD #7ABD55
analogous
#6455BD #9855BD #BD55AE
triadic
#9855BD #BD9855 #55BD98
tetradic
#9855BD #BD6455 #7ABD55 #55AEBD
square
#9855BD #BD6455 #7ABD55 #55AEBD
split-complementary
#9855BD #AEBD55 #55BD64
monochromatic
#552A6D #783C99 #9855BD #B381CE #CDADDF

Accessibility & contrast

On white

4.81
#9855BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#9855BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9855BD
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9855BD#FFFFFF#000000##FFFFFF
##9855BD1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386FC0
Deuteranopia (green-blind)
#4F74BA
Tritanopia (blue-blind)
#946781
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9855bd;
/* rgb */ color: rgb(152, 85, 189);
/* oklch */ color: oklch(57.2% 0.165 312.0);
Tailwind
colors: {
  custom: {
    50: '#b987d1',
    500: '#9855bd',
    950: '#000000',
  },
}
SCSS
$custom: #9855bd;
$custom-light: #b987d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9855bd",
  "rgb": {
    "r": 152,
    "g": 85,
    "b": 189
  },
  "hsl": {
    "h": 278.654,
    "s": 44.068,
    "l": 53.725
  },
  "oklch": {
    "l": 0.57161,
    "c": 0.16546,
    "h": 312
  },
  "luminance": 0.16847
}

Semantic roles & 50–950 ramp

primary
#9855BD
secondary
#B0CDA1
accent
#D45481
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9855BD

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

Preview Lab → · Contrast checker → · Palette generator →

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