#9855E4#9855E4

#9855E4 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.6% C 0.209 H 302.0°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#9855E4
RGBrgb(152, 85, 228)
HSLhsl(268, 73%, 61%)
HSVhsv(268, 63%, 89%)
CMYKcmyk(33.3%, 62.7%, 0%, 10.6%)
CIE-LABlab(50.42, 54.88, -62.44)
CIE-LCHlch(50.42, 83.13, 311.31°)
OKLaboklab(59.63% 0.1106 -0.1772)
OKLCHoklch(59.63% 0.209 302)
XYZxyz(30.1977, 18.7738, 75.4165)
Luminance0.1877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9855E4 #A1E455
analogous
#555AE4 #9855E4 #E055E4
triadic
#9855E4 #E49855 #55E498
tetradic
#9855E4 #E4555A #A1E455 #55E4E0
square
#9855E4 #E4555A #A1E455 #55E4E0
split-complementary
#9855E4 #E4E055 #5AE455
monochromatic
#5B1AA4 #7823D9 #9855E4 #B88AEC #D8BFF5

Accessibility & contrast

On white

4.42
#9855E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#9855E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9855E4
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9855E4#FFFFFF#000000##000000
##9855E41.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E8
Deuteranopia (green-blind)
#2377E1
Tritanopia (blue-blind)
#897495
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9855e4;
/* rgb */ color: rgb(152, 85, 228);
/* oklch */ color: oklch(59.6% 0.209 302.0);
Tailwind
colors: {
  custom: {
    50: '#bb88ed',
    500: '#9855e4',
    950: '#000000',
  },
}
SCSS
$custom: #9855e4;
$custom-light: #bb88ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9855e4",
  "rgb": {
    "r": 152,
    "g": 85,
    "b": 228
  },
  "hsl": {
    "h": 268.112,
    "s": 72.589,
    "l": 61.373
  },
  "oklch": {
    "l": 0.59634,
    "c": 0.20891,
    "h": 302
  },
  "luminance": 0.18774
}

Semantic roles & 50–950 ramp

primary
#9855E4
secondary
#CCE5B0
accent
#D51179
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9855E4

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

Preview Lab → · Contrast checker → · Palette generator →

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