#9558EC#9558EC

#9558EC is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.3% C 0.213 H 298.8°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#9558EC
RGBrgb(149, 88, 236)
HSLhsl(265, 80%, 64%)
HSVhsv(265, 63%, 93%)
CMYKcmyk(36.9%, 62.7%, 0%, 7.5%)
CIE-LABlab(51.18, 54.68, -65.73)
CIE-LCHlch(51.18, 85.50, 309.76°)
OKLaboklab(60.28% 0.1027 -0.187)
OKLCHoklch(60.28% 0.213 298.8)
XYZxyz(31.0207, 19.4248, 81.4556)
Luminance0.1943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9558EC #AFEC58
analogous
#5865EC #9558EC #DF58EC
triadic
#9558EC #EC9558 #58EC95
tetradic
#9558EC #EC5865 #AFEC58 #58ECDF
square
#9558EC #EC5865 #AFEC58 #58ECDF
split-complementary
#9558EC #ECDF58 #65EC58
monochromatic
#5715B5 #7221E6 #9558EC #B88FF2 #DBC6F9

Accessibility & contrast

On white

4.30
#9558EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#9558EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9558EC
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9558EC#FFFFFF#000000##000000
##9558EC1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF1
Deuteranopia (green-blind)
#0A79E9
Tritanopia (blue-blind)
#81799A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9558ec;
/* rgb */ color: rgb(149, 88, 236);
/* oklch */ color: oklch(60.3% 0.213 298.8);
Tailwind
colors: {
  custom: {
    50: '#ba8af3',
    500: '#9558ec',
    950: '#000000',
  },
}
SCSS
$custom: #9558ec;
$custom-light: #ba8af3;
$custom-dark: #000000;
JSON
{
  "hex": "#9558ec",
  "rgb": {
    "r": 149,
    "g": 88,
    "b": 236
  },
  "hsl": {
    "h": 264.73,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60276,
    "c": 0.21339,
    "h": 298.8
  },
  "luminance": 0.19425
}

Semantic roles & 50–950 ramp

primary
#9558EC
secondary
#D5EAB6
accent
#DC0A85
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9558EC

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

Preview Lab → · Contrast checker → · Palette generator →

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