#9855E5#9855E5

#9855E5 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.7% C 0.210 H 301.7°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9855E5
RGBrgb(152, 85, 229)
HSLhsl(268, 73%, 62%)
HSVhsv(268, 63%, 90%)
CMYKcmyk(33.6%, 62.9%, 0%, 10.2%)
CIE-LABlab(50.49, 55.12, -62.89)
CIE-LCHlch(50.49, 83.63, 311.23°)
OKLaboklab(59.7% 0.1105 -0.1786)
OKLCHoklch(59.7% 0.21 301.7)
XYZxyz(30.3369, 18.8294, 76.1497)
Luminance0.1883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9855E5 #A2E555
analogous
#555AE5 #9855E5 #E055E5
triadic
#9855E5 #E59855 #55E598
tetradic
#9855E5 #E5555A #A2E555 #55E5E0
square
#9855E5 #E5555A #A2E555 #55E5E0
split-complementary
#9855E5 #E5E055 #5AE555
monochromatic
#5B19A6 #7822DB #9855E5 #B88AED #D8BFF5

Accessibility & contrast

On white

4.41
#9855E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#9855E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9855E5
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9855E5#FFFFFF#000000##000000
##9855E51.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E9
Deuteranopia (green-blind)
#2178E2
Tritanopia (blue-blind)
#887495
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9855e5;
/* rgb */ color: rgb(152, 85, 229);
/* oklch */ color: oklch(59.7% 0.210 301.7);
Tailwind
colors: {
  custom: {
    50: '#bb88ee',
    500: '#9855e5',
    950: '#000000',
  },
}
SCSS
$custom: #9855e5;
$custom-light: #bb88ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9855e5",
  "rgb": {
    "r": 152,
    "g": 85,
    "b": 229
  },
  "hsl": {
    "h": 267.917,
    "s": 73.469,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59702,
    "c": 0.21002,
    "h": 301.7
  },
  "luminance": 0.1883
}

Semantic roles & 50–950 ramp

primary
#9855E5
secondary
#CDE6B0
accent
#D6107A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9855E5

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

Preview Lab → · Contrast checker → · Palette generator →

#9855E5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva