#9856BE#9856BE

#9856BE is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.4% C 0.165 H 311.6°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#9856BE
RGBrgb(152, 86, 190)
HSLhsl(278, 44%, 54%)
HSVhsv(278, 55%, 75%)
CMYKcmyk(20%, 54.7%, 0%, 25.5%)
CIE-LABlab(48.32, 45.52, -44.07)
CIE-LCHlch(48.32, 63.36, 315.93°)
OKLaboklab(57.37% 0.1095 -0.1234)
OKLCHoklch(57.37% 0.165 311.6)
XYZxyz(25.5693, 17.0492, 50.6491)
Luminance0.1705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9856BE #7CBE56
analogous
#6456BE #9856BE #BE56B0
triadic
#9856BE #BE9856 #56BE98
tetradic
#9856BE #BE6456 #7CBE56 #56B0BE
square
#9856BE #BE6456 #7CBE56 #56B0BE
split-complementary
#9856BE #B0BE56 #56BE64
monochromatic
#562B6F #783C9B #9856BE #B382CF #CEAEE0

Accessibility & contrast

On white

4.76
#9856BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#9856BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9856BE
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9856BE#FFFFFF#000000##FFFFFF
##9856BE1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396FC1
Deuteranopia (green-blind)
#4F74BB
Tritanopia (blue-blind)
#946882
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9856be;
/* rgb */ color: rgb(152, 86, 190);
/* oklch */ color: oklch(57.4% 0.165 311.6);
Tailwind
colors: {
  custom: {
    50: '#b988d2',
    500: '#9856be',
    950: '#000000',
  },
}
SCSS
$custom: #9856be;
$custom-light: #b988d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9856be",
  "rgb": {
    "r": 152,
    "g": 86,
    "b": 190
  },
  "hsl": {
    "h": 278.077,
    "s": 44.444,
    "l": 54.118
  },
  "oklch": {
    "l": 0.57367,
    "c": 0.16499,
    "h": 311.6
  },
  "luminance": 0.17049
}

Semantic roles & 50–950 ramp

primary
#9856BE
secondary
#B2CEA2
accent
#D45483
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #9856BE

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

Preview Lab → · Contrast checker → · Palette generator →

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