#9856E8#9856E8

#9856E8 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.0% C 0.212 H 301.0°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#9856E8
RGBrgb(152, 86, 232)
HSLhsl(267, 76%, 62%)
HSVhsv(267, 63%, 91%)
CMYKcmyk(34.5%, 62.9%, 0%, 9%)
CIE-LABlab(50.87, 55.34, -63.97)
CIE-LCHlch(50.87, 84.58, 310.87°)
OKLaboklab(60.04% 0.1092 -0.1817)
OKLCHoklch(60.04% 0.212 301)
XYZxyz(30.8387, 19.1570, 78.4013)
Luminance0.1916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9856E8 #A6E856
analogous
#565DE8 #9856E8 #E156E8
triadic
#9856E8 #E89856 #56E898
tetradic
#9856E8 #E8565D #A6E856 #56E8E1
square
#9856E8 #E8565D #A6E856 #56E8E1
split-complementary
#9856E8 #E8E156 #5DE856
monochromatic
#5B17AC #7720E1 #9856E8 #B98CEF #DAC2F7

Accessibility & contrast

On white

4.35
#9856E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#9856E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9856E8
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9856E8#FFFFFF#000000##000000
##9856E81.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078ED
Deuteranopia (green-blind)
#1C78E5
Tritanopia (blue-blind)
#877697
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9856e8;
/* rgb */ color: rgb(152, 86, 232);
/* oklch */ color: oklch(60.0% 0.212 301.0);
Tailwind
colors: {
  custom: {
    50: '#bb89f0',
    500: '#9856e8',
    950: '#000000',
  },
}
SCSS
$custom: #9856e8;
$custom-light: #bb89f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9856e8",
  "rgb": {
    "r": 152,
    "g": 86,
    "b": 232
  },
  "hsl": {
    "h": 267.123,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60042,
    "c": 0.21202,
    "h": 301
  },
  "luminance": 0.19157
}

Semantic roles & 50–950 ramp

primary
#9856E8
secondary
#CFE8B2
accent
#D80D7C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9856E8

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

Preview Lab → · Contrast checker → · Palette generator →

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