#9856BC#9856BC

#9856BC is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.3% C 0.163 H 312.2°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#9856BC
RGBrgb(152, 86, 188)
HSLhsl(279, 43%, 54%)
HSVhsv(279, 54%, 74%)
CMYKcmyk(19.1%, 54.3%, 0%, 26.3%)
CIE-LABlab(48.21, 45.08, -43.08)
CIE-LCHlch(48.21, 62.35, 316.30°)
OKLaboklab(57.25% 0.1094 -0.1205)
OKLCHoklch(57.25% 0.163 312.2)
XYZxyz(25.3522, 16.9624, 49.5058)
Luminance0.1696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9856BC #7ABC56
analogous
#6556BC #9856BC #BC56AD
triadic
#9856BC #BC9856 #56BC98
tetradic
#9856BC #BC6556 #7ABC56 #56ADBC
square
#9856BC #BC6556 #7ABC56 #56ADBC
split-complementary
#9856BC #ADBC56 #56BC65
monochromatic
#552B6D #783C98 #9856BC #B382CD #CDAEDF

Accessibility & contrast

On white

4.78
#9856BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#9856BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9856BC
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9856BC#FFFFFF#000000##FFFFFF
##9856BC1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6FBF
Deuteranopia (green-blind)
#5074B9
Tritanopia (blue-blind)
#946781
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9856bc;
/* rgb */ color: rgb(152, 86, 188);
/* oklch */ color: oklch(57.3% 0.163 312.2);
Tailwind
colors: {
  custom: {
    50: '#b988d0',
    500: '#9856bc',
    950: '#000000',
  },
}
SCSS
$custom: #9856bc;
$custom-light: #b988d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9856bc",
  "rgb": {
    "r": 152,
    "g": 86,
    "b": 188
  },
  "hsl": {
    "h": 278.824,
    "s": 43.22,
    "l": 53.725
  },
  "oklch": {
    "l": 0.57251,
    "c": 0.16276,
    "h": 312.2
  },
  "luminance": 0.16962
}

Semantic roles & 50–950 ramp

primary
#9856BC
secondary
#B0CDA1
accent
#D35581
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #9856BC

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

Preview Lab → · Contrast checker → · Palette generator →

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