#9856E0#9856E0

#9856E0 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.5% C 0.203 H 302.7°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#9856E0
RGBrgb(152, 86, 224)
HSLhsl(269, 69%, 61%)
HSVhsv(269, 62%, 88%)
CMYKcmyk(32.1%, 61.6%, 0%, 12.2%)
CIE-LABlab(50.35, 53.41, -60.29)
CIE-LCHlch(50.35, 80.55, 311.54°)
OKLaboklab(59.5% 0.1097 -0.1709)
OKLCHoklch(59.5% 0.203 302.7)
XYZxyz(29.7281, 18.7128, 72.5523)
Luminance0.1871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9856E0 #9EE056
analogous
#5659E0 #9856E0 #DD56E0
triadic
#9856E0 #E09856 #56E098
tetradic
#9856E0 #E05659 #9EE056 #56E0DD
square
#9856E0 #E05659 #9EE056 #56E0DD
split-complementary
#9856E0 #E0DD56 #59E056
monochromatic
#5B1D9F #7927D2 #9856E0 #B88AE9 #D7BDF3

Accessibility & contrast

On white

4.43
#9856E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#9856E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9856E0
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9856E0#FFFFFF#000000##000000
##9856E01.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E4
Deuteranopia (green-blind)
#2C77DD
Tritanopia (blue-blind)
#8A7393
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9856e0;
/* rgb */ color: rgb(152, 86, 224);
/* oklch */ color: oklch(59.5% 0.203 302.7);
Tailwind
colors: {
  custom: {
    50: '#bb89ea',
    500: '#9856e0',
    950: '#000000',
  },
}
SCSS
$custom: #9856e0;
$custom-light: #bb89ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9856e0",
  "rgb": {
    "r": 152,
    "g": 86,
    "b": 224
  },
  "hsl": {
    "h": 268.696,
    "s": 69,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59499,
    "c": 0.2031,
    "h": 302.7
  },
  "luminance": 0.18713
}

Semantic roles & 50–950 ramp

primary
#9856E0
secondary
#CAE3AF
accent
#D11577
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9856E0

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

Preview Lab → · Contrast checker → · Palette generator →

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