#9D55E5#9D55E5

#9D55E5 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.2% C 0.211 H 303.7°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#9D55E5
RGBrgb(157, 85, 229)
HSLhsl(270, 73%, 62%)
HSVhsv(270, 63%, 90%)
CMYKcmyk(31.4%, 62.9%, 0%, 10.2%)
CIE-LABlab(51.06, 56.19, -61.94)
CIE-LCHlch(51.06, 83.63, 312.22°)
OKLaboklab(60.25% 0.117 -0.1756)
OKLCHoklch(60.25% 0.211 303.7)
XYZxyz(31.2928, 19.3223, 76.1945)
Luminance0.1932 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D55E5 #9DE555
analogous
#5555E5 #9D55E5 #E555E5
triadic
#9D55E5 #E59D55 #55E59D
tetradic
#9D55E5 #E55555 #9DE555 #55E5E5
square
#9D55E5 #E55555 #9DE555 #55E5E5
split-complementary
#9D55E5 #E5E555 #55E555
monochromatic
#6019A6 #7E22DB #9D55E5 #BC8AED #DABFF5

Accessibility & contrast

On white

4.32
#9D55E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#9D55E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D55E5
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D55E5#FFFFFF#000000##000000
##9D55E51.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E9
Deuteranopia (green-blind)
#2A79E2
Tritanopia (blue-blind)
#8F7495
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9d55e5;
/* rgb */ color: rgb(157, 85, 229);
/* oklch */ color: oklch(60.2% 0.211 303.7);
Tailwind
colors: {
  custom: {
    50: '#be89ee',
    500: '#9d55e5',
    950: '#000000',
  },
}
SCSS
$custom: #9d55e5;
$custom-light: #be89ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9d55e5",
  "rgb": {
    "r": 157,
    "g": 85,
    "b": 229
  },
  "hsl": {
    "h": 270,
    "s": 73.469,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60246,
    "c": 0.21103,
    "h": 303.7
  },
  "luminance": 0.19322
}

Semantic roles & 50–950 ramp

primary
#9D55E5
secondary
#CBE6B0
accent
#D61073
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9D55E5

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

Preview Lab → · Contrast checker → · Palette generator →

#9D55E5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva