#9856BF#9856BF

#9856BF is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.4% C 0.166 H 311.3°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#9856BF
RGBrgb(152, 86, 191)
HSLhsl(278, 45%, 54%)
HSVhsv(278, 55%, 75%)
CMYKcmyk(20.4%, 55%, 0%, 25.1%)
CIE-LABlab(48.38, 45.75, -44.56)
CIE-LCHlch(48.38, 63.86, 315.75°)
OKLaboklab(57.43% 0.1096 -0.1248)
OKLCHoklch(57.43% 0.166 311.3)
XYZxyz(25.6789, 17.0931, 51.2267)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9856BF #7DBF56
analogous
#6456BF #9856BF #BF56B2
triadic
#9856BF #BF9856 #56BF98
tetradic
#9856BF #BF6456 #7DBF56 #56B2BF
square
#9856BF #BF6456 #7DBF56 #56B2BF
split-complementary
#9856BF #B2BF56 #56BF64
monochromatic
#562A70 #783B9D #9856BF #B382D0 #CEAFE1

Accessibility & contrast

On white

4.75
#9856BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#9856BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9856BF
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9856BF#FFFFFF#000000##FFFFFF
##9856BF1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3870C2
Deuteranopia (green-blind)
#4E74BC
Tritanopia (blue-blind)
#936882
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9856bf;
/* rgb */ color: rgb(152, 86, 191);
/* oklch */ color: oklch(57.4% 0.166 311.3);
Tailwind
colors: {
  custom: {
    50: '#b988d3',
    500: '#9856bf',
    950: '#000000',
  },
}
SCSS
$custom: #9856bf;
$custom-light: #b988d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9856bf",
  "rgb": {
    "r": 152,
    "g": 86,
    "b": 191
  },
  "hsl": {
    "h": 277.714,
    "s": 45.064,
    "l": 54.314
  },
  "oklch": {
    "l": 0.57425,
    "c": 0.16611,
    "h": 311.3
  },
  "luminance": 0.17093
}

Semantic roles & 50–950 ramp

primary
#9856BF
secondary
#B3CFA2
accent
#D55383
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #9856BF

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

Preview Lab → · Contrast checker → · Palette generator →

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