#9855BF#9855BF

#9855BF is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.3% C 0.168 H 311.4°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#9855BF
RGBrgb(152, 85, 191)
HSLhsl(278, 45%, 54%)
HSVhsv(278, 55%, 75%)
CMYKcmyk(20.4%, 55.5%, 0%, 25.1%)
CIE-LABlab(48.18, 46.27, -44.87)
CIE-LCHlch(48.18, 64.46, 315.88°)
OKLaboklab(57.28% 0.1109 -0.1258)
OKLCHoklch(57.28% 0.168 311.4)
XYZxyz(25.5997, 16.9345, 51.2002)
Luminance0.1693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9855BF #7CBF55
analogous
#6355BF #9855BF #BF55B1
triadic
#9855BF #BF9855 #55BF98
tetradic
#9855BF #BF6355 #7CBF55 #55B1BF
square
#9855BF #BF6355 #7CBF55 #55B1BF
split-complementary
#9855BF #B1BF55 #55BF63
monochromatic
#562A70 #783B9C #9855BF #B381D0 #CEAEE0

Accessibility & contrast

On white

4.79
#9855BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#9855BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9855BF
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9855BF#FFFFFF#000000##FFFFFF
##9855BF1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366FC2
Deuteranopia (green-blind)
#4D74BC
Tritanopia (blue-blind)
#946782
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9855bf;
/* rgb */ color: rgb(152, 85, 191);
/* oklch */ color: oklch(57.3% 0.168 311.4);
Tailwind
colors: {
  custom: {
    50: '#b988d3',
    500: '#9855bf',
    950: '#000000',
  },
}
SCSS
$custom: #9855bf;
$custom-light: #b988d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9855bf",
  "rgb": {
    "r": 152,
    "g": 85,
    "b": 191
  },
  "hsl": {
    "h": 277.925,
    "s": 45.299,
    "l": 54.118
  },
  "oklch": {
    "l": 0.57278,
    "c": 0.16768,
    "h": 311.4
  },
  "luminance": 0.16934
}

Semantic roles & 50–950 ramp

primary
#9855BF
secondary
#B2CEA1
accent
#D55383
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #9855BF

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

Preview Lab → · Contrast checker → · Palette generator →

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