#9855E3#9855E3

#9855E3 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.6% C 0.208 H 302.2°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#9855E3
RGBrgb(152, 85, 227)
HSLhsl(268, 72%, 61%)
HSVhsv(268, 63%, 89%)
CMYKcmyk(33%, 62.6%, 0%, 11%)
CIE-LABlab(50.36, 54.64, -61.98)
CIE-LCHlch(50.36, 82.62, 311.40°)
OKLaboklab(59.57% 0.1106 -0.1759)
OKLCHoklch(59.57% 0.208 302.2)
XYZxyz(30.0593, 18.7184, 74.6875)
Luminance0.1872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9855E3 #A0E355
analogous
#5559E3 #9855E3 #DF55E3
triadic
#9855E3 #E39855 #55E398
tetradic
#9855E3 #E35559 #A0E355 #55E3DF
square
#9855E3 #E35559 #A0E355 #55E3DF
split-complementary
#9855E3 #E3DF55 #59E355
monochromatic
#5B1BA3 #7823D7 #9855E3 #B88AEC #D8BEF4

Accessibility & contrast

On white

4.43
#9855E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#9855E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9855E3
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9855E3#FFFFFF#000000##000000
##9855E31.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)
#0077E7
Deuteranopia (green-blind)
#2577E0
Tritanopia (blue-blind)
#897494
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9855e3;
/* rgb */ color: rgb(152, 85, 227);
/* oklch */ color: oklch(59.6% 0.208 302.2);
Tailwind
colors: {
  custom: {
    50: '#bb88ed',
    500: '#9855e3',
    950: '#000000',
  },
}
SCSS
$custom: #9855e3;
$custom-light: #bb88ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9855e3",
  "rgb": {
    "r": 152,
    "g": 85,
    "b": 227
  },
  "hsl": {
    "h": 268.31,
    "s": 71.717,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59566,
    "c": 0.2078,
    "h": 302.2
  },
  "luminance": 0.18718
}

Semantic roles & 50–950 ramp

primary
#9855E3
secondary
#CBE5AF
accent
#D41278
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9855E3

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

Preview Lab → · Contrast checker → · Palette generator →

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