#9558E4#9558E4

#9558E4 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.7% C 0.204 H 300.4°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#9558E4
RGBrgb(149, 88, 228)
HSLhsl(266, 72%, 62%)
HSVhsv(266, 61%, 89%)
CMYKcmyk(34.6%, 61.4%, 0%, 10.6%)
CIE-LABlab(50.65, 52.70, -62.08)
CIE-LCHlch(50.65, 81.43, 310.33°)
OKLaboklab(59.73% 0.1033 -0.1763)
OKLCHoklch(59.73% 0.204 300.4)
XYZxyz(29.8844, 18.9702, 75.4709)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9558E4 #A7E458
analogous
#5861E4 #9558E4 #DB58E4
triadic
#9558E4 #E49558 #58E495
tetradic
#9558E4 #E45861 #A7E458 #58E4DB
square
#9558E4 #E45861 #A7E458 #58E4DB
split-complementary
#9558E4 #E4DB58 #61E458
monochromatic
#581BA7 #7423DB #9558E4 #B68DED #D8C1F5

Accessibility & contrast

On white

4.38
#9558E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#9558E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9558E4
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9558E4#FFFFFF#000000##000000
##9558E41.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E8
Deuteranopia (green-blind)
#2478E1
Tritanopia (blue-blind)
#847696
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9558e4;
/* rgb */ color: rgb(149, 88, 228);
/* oklch */ color: oklch(59.7% 0.204 300.4);
Tailwind
colors: {
  custom: {
    50: '#b98aed',
    500: '#9558e4',
    950: '#000000',
  },
}
SCSS
$custom: #9558e4;
$custom-light: #b98aed;
$custom-dark: #000000;
JSON
{
  "hex": "#9558e4",
  "rgb": {
    "r": 149,
    "g": 88,
    "b": 228
  },
  "hsl": {
    "h": 266.143,
    "s": 72.165,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59726,
    "c": 0.20432,
    "h": 300.4
  },
  "luminance": 0.1897
}

Semantic roles & 50–950 ramp

primary
#9558E4
secondary
#CFE6B2
accent
#D4117F
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9558E4

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

Preview Lab → · Contrast checker → · Palette generator →

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