#9558F5#9558F5

#9558F5 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.9% C 0.224 H 297.1°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#9558F5
RGBrgb(149, 88, 245)
HSLhsl(263, 89%, 65%)
HSVhsv(263, 64%, 96%)
CMYKcmyk(39.2%, 64.1%, 0%, 3.9%)
CIE-LABlab(51.79, 56.93, -69.78)
CIE-LCHlch(51.79, 90.05, 309.21°)
OKLaboklab(60.91% 0.1019 -0.1989)
OKLCHoklch(60.91% 0.224 297.1)
XYZxyz(32.3613, 19.9610, 88.5164)
Luminance0.1996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9558F5 #B8F558
analogous
#5869F5 #9558F5 #E358F5
triadic
#9558F5 #F59558 #58F595
tetradic
#9558F5 #F55869 #B8F558 #58F5E3
square
#9558F5 #F55869 #B8F558 #58F5E3
split-complementary
#9558F5 #F5E358 #69F558
monochromatic
#540CC7 #701EF2 #9558F5 #BA92F8 #DECBFC

Accessibility & contrast

On white

4.21
#9558F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#9558F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9558F5
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9558F5#FFFFFF#000000##000000
##9558F51.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFA
Deuteranopia (green-blind)
#007AF2
Tritanopia (blue-blind)
#7D7C9F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9558f5;
/* rgb */ color: rgb(149, 88, 245);
/* oklch */ color: oklch(60.9% 0.224 297.1);
Tailwind
colors: {
  custom: {
    50: '#ba8af9',
    500: '#9558f5',
    950: '#000000',
  },
}
SCSS
$custom: #9558f5;
$custom-light: #ba8af9;
$custom-dark: #000000;
JSON
{
  "hex": "#9558f5",
  "rgb": {
    "r": 149,
    "g": 88,
    "b": 245
  },
  "hsl": {
    "h": 263.312,
    "s": 88.701,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60913,
    "c": 0.22353,
    "h": 297.1
  },
  "luminance": 0.19962
}

Semantic roles & 50–950 ramp

primary
#9558F5
secondary
#DAEFBA
accent
#E5008C
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #9558F5

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

Preview Lab → · Contrast checker → · Palette generator →

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