#9558E5#9558E5

#9558E5 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.8% C 0.205 H 300.2°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#9558E5
RGBrgb(149, 88, 229)
HSLhsl(266, 73%, 62%)
HSVhsv(266, 62%, 90%)
CMYKcmyk(34.9%, 61.6%, 0%, 10.2%)
CIE-LABlab(50.72, 52.95, -62.54)
CIE-LCHlch(50.72, 81.94, 310.25°)
OKLaboklab(59.79% 0.1032 -0.1777)
OKLCHoklch(59.79% 0.205 300.2)
XYZxyz(30.0236, 19.0259, 76.2041)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9558E5 #A8E558
analogous
#5862E5 #9558E5 #DB58E5
triadic
#9558E5 #E59558 #58E595
tetradic
#9558E5 #E55862 #A8E558 #58E5DB
square
#9558E5 #E55862 #A8E558 #58E5DB
split-complementary
#9558E5 #E5DB58 #62E558
monochromatic
#581AA8 #7323DD #9558E5 #B78DED #D8C2F5

Accessibility & contrast

On white

4.37
#9558E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#9558E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9558E5
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9558E5#FFFFFF#000000##000000
##9558E51.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E9
Deuteranopia (green-blind)
#2278E2
Tritanopia (blue-blind)
#847796
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9558e5;
/* rgb */ color: rgb(149, 88, 229);
/* oklch */ color: oklch(59.8% 0.205 300.2);
Tailwind
colors: {
  custom: {
    50: '#b98aee',
    500: '#9558e5',
    950: '#000000',
  },
}
SCSS
$custom: #9558e5;
$custom-light: #b98aee;
$custom-dark: #000000;
JSON
{
  "hex": "#9558e5",
  "rgb": {
    "r": 149,
    "g": 88,
    "b": 229
  },
  "hsl": {
    "h": 265.957,
    "s": 73.057,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59794,
    "c": 0.20546,
    "h": 300.2
  },
  "luminance": 0.19026
}

Semantic roles & 50–950 ramp

primary
#9558E5
secondary
#D0E6B3
accent
#D51080
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9558E5

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

Preview Lab → · Contrast checker → · Palette generator →

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