#9855BC#9855BC

#9855BC is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.1% C 0.164 H 312.4°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#9855BC
RGBrgb(152, 85, 188)
HSLhsl(279, 43%, 54%)
HSVhsv(279, 55%, 74%)
CMYKcmyk(19.1%, 54.8%, 0%, 26.3%)
CIE-LABlab(48.01, 45.61, -43.40)
CIE-LCHlch(48.01, 62.96, 316.42°)
OKLaboklab(57.1% 0.1107 -0.1215)
OKLCHoklch(57.1% 0.164 312.4)
XYZxyz(25.2729, 16.8038, 49.4793)
Luminance0.1680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9855BC #79BC55
analogous
#6455BC #9855BC #BC55AC
triadic
#9855BC #BC9855 #55BC98
tetradic
#9855BC #BC6455 #79BC55 #55ACBC
square
#9855BC #BC6455 #79BC55 #55ACBC
split-complementary
#9855BC #ACBC55 #55BC64
monochromatic
#552B6C #783C98 #9855BC #B381CD #CDADDF

Accessibility & contrast

On white

4.82
#9855BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#9855BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9855BC
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9855BC#FFFFFF#000000##FFFFFF
##9855BC1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396EBF
Deuteranopia (green-blind)
#4F73B9
Tritanopia (blue-blind)
#946680
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9855bc;
/* rgb */ color: rgb(152, 85, 188);
/* oklch */ color: oklch(57.1% 0.164 312.4);
Tailwind
colors: {
  custom: {
    50: '#b987d1',
    500: '#9855bc',
    950: '#000000',
  },
}
SCSS
$custom: #9855bc;
$custom-light: #b987d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9855bc",
  "rgb": {
    "r": 152,
    "g": 85,
    "b": 188
  },
  "hsl": {
    "h": 279.029,
    "s": 43.46,
    "l": 53.529
  },
  "oklch": {
    "l": 0.57103,
    "c": 0.16435,
    "h": 312.4
  },
  "luminance": 0.16803
}

Semantic roles & 50–950 ramp

primary
#9855BC
secondary
#B0CCA0
accent
#D35581
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9855BC

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

Preview Lab → · Contrast checker → · Palette generator →

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