#9855EA#9855EA

#9855EA is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.0% C 0.216 H 300.7°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#9855EA
RGBrgb(152, 85, 234)
HSLhsl(267, 78%, 63%)
HSVhsv(267, 64%, 92%)
CMYKcmyk(35%, 63.7%, 0%, 8.2%)
CIE-LABlab(50.82, 56.33, -65.18)
CIE-LCHlch(50.82, 86.14, 310.84°)
OKLaboklab(60.05% 0.1101 -0.1853)
OKLCHoklch(60.05% 0.216 300.7)
XYZxyz(31.0451, 19.1127, 79.8795)
Luminance0.1911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9855EA #A7EA55
analogous
#555CEA #9855EA #E255EA
triadic
#9855EA #EA9855 #55EA98
tetradic
#9855EA #EA555C #A7EA55 #55EAE2
square
#9855EA #EA555C #A7EA55 #55EAE2
split-complementary
#9855EA #EAE255 #5CEA55
monochromatic
#5B16AF #771FE3 #9855EA #B98BF1 #DAC2F7

Accessibility & contrast

On white

4.35
#9855EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#9855EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9855EA
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9855EA#FFFFFF#000000##000000
##9855EA1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EF
Deuteranopia (green-blind)
#1278E7
Tritanopia (blue-blind)
#867698
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9855ea;
/* rgb */ color: rgb(152, 85, 234);
/* oklch */ color: oklch(60.0% 0.216 300.7);
Tailwind
colors: {
  custom: {
    50: '#bc89f2',
    500: '#9855ea',
    950: '#000000',
  },
}
SCSS
$custom: #9855ea;
$custom-light: #bc89f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9855ea",
  "rgb": {
    "r": 152,
    "g": 85,
    "b": 234
  },
  "hsl": {
    "h": 266.98,
    "s": 78.01,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60047,
    "c": 0.21555,
    "h": 300.7
  },
  "luminance": 0.19113
}

Semantic roles & 50–950 ramp

primary
#9855EA
secondary
#D0E8B2
accent
#DA0B7D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9855EA

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

Preview Lab → · Contrast checker → · Palette generator →

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