#9854BC#9854BC

#9854BC is a mid, vivid violet. Relative luminance 0.166; OKLCH L 57.0% C 0.166 H 312.5°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#9854BC
RGBrgb(152, 84, 188)
HSLhsl(279, 44%, 53%)
HSVhsv(279, 55%, 74%)
CMYKcmyk(19.1%, 55.3%, 0%, 26.3%)
CIE-LABlab(47.81, 46.13, -43.71)
CIE-LCHlch(47.81, 63.55, 316.54°)
OKLaboklab(56.96% 0.1121 -0.1224)
OKLCHoklch(56.96% 0.166 312.5)
XYZxyz(25.1947, 16.6475, 49.4533)
Luminance0.1665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9854BC #78BC54
analogous
#6454BC #9854BC #BC54AC
triadic
#9854BC #BC9854 #54BC98
tetradic
#9854BC #BC6454 #78BC54 #54ACBC
square
#9854BC #BC6454 #78BC54 #54ACBC
split-complementary
#9854BC #ACBC54 #54BC64
monochromatic
#552A6B #783B97 #9854BC #B280CD #CDACDE

Accessibility & contrast

On white

4.85
#9854BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#9854BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9854BC
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9854BC#FFFFFF#000000##FFFFFF
##9854BC1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376EBF
Deuteranopia (green-blind)
#4E73B9
Tritanopia (blue-blind)
#946680
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9854bc;
/* rgb */ color: rgb(152, 84, 188);
/* oklch */ color: oklch(57.0% 0.166 312.5);
Tailwind
colors: {
  custom: {
    50: '#b987d1',
    500: '#9854bc',
    950: '#000000',
  },
}
SCSS
$custom: #9854bc;
$custom-light: #b987d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9854bc",
  "rgb": {
    "r": 152,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 279.231,
    "s": 43.697,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56957,
    "c": 0.16593,
    "h": 312.5
  },
  "luminance": 0.16647
}

Semantic roles & 50–950 ramp

primary
#9854BC
secondary
#AFCCA0
accent
#D35480
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9854BC

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

Preview Lab → · Contrast checker → · Palette generator →

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