#A558E5#A558E5

#A558E5 is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.5% C 0.209 H 306.4°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#A558E5
RGBrgb(165, 88, 229)
HSLhsl(273, 73%, 62%)
HSVhsv(273, 62%, 90%)
CMYKcmyk(27.9%, 61.6%, 0%, 10.2%)
CIE-LABlab(52.55, 56.47, -59.50)
CIE-LCHlch(52.55, 82.03, 313.51°)
OKLaboklab(61.53% 0.1238 -0.1682)
OKLCHoklch(61.53% 0.209 306.4)
XYZxyz(33.1466, 20.6362, 76.3505)
Luminance0.2064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A558E5 #98E558
analogous
#5F58E5 #A558E5 #E558DF
triadic
#A558E5 #E5A558 #58E5A5
tetradic
#A558E5 #E55F58 #98E558 #58DFE5
square
#A558E5 #E55F58 #98E558 #58DFE5
split-complementary
#A558E5 #DFE558 #58E55F
monochromatic
#681AA8 #8823DD #A558E5 #C28DED #DEC2F5

Accessibility & contrast

On white

4.10
#A558E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#A558E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A558E5
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A558E5#FFFFFF#000000##000000
##A558E51.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BE9
Deuteranopia (green-blind)
#3B7EE2
Tritanopia (blue-blind)
#9A7597
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a558e5;
/* rgb */ color: rgb(165, 88, 229);
/* oklch */ color: oklch(61.5% 0.209 306.4);
Tailwind
colors: {
  custom: {
    50: '#c48bee',
    500: '#a558e5',
    950: '#000000',
  },
}
SCSS
$custom: #a558e5;
$custom-light: #c48bee;
$custom-dark: #000000;
JSON
{
  "hex": "#a558e5",
  "rgb": {
    "r": 165,
    "g": 88,
    "b": 229
  },
  "hsl": {
    "h": 272.766,
    "s": 73.057,
    "l": 62.157
  },
  "oklch": {
    "l": 0.6153,
    "c": 0.20888,
    "h": 306.4
  },
  "luminance": 0.20636
}

Semantic roles & 50–950 ramp

primary
#A558E5
secondary
#CAE6B3
accent
#D5106A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A558E5

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

Preview Lab → · Contrast checker → · Palette generator →

#A558E5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva