#A558E4#A558E4

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

Color values

HEX#A558E4
RGBrgb(165, 88, 228)
HSLhsl(273, 72%, 62%)
HSVhsv(273, 61%, 89%)
CMYKcmyk(27.6%, 61.4%, 0%, 10.6%)
CIE-LABlab(52.49, 56.24, -59.03)
CIE-LCHlch(52.49, 81.54, 313.61°)
OKLaboklab(61.47% 0.1239 -0.1668)
OKLCHoklch(61.47% 0.208 306.6)
XYZxyz(33.0074, 20.5806, 75.6173)
Luminance0.2058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A558E4 #97E458
analogous
#5F58E4 #A558E4 #E458DD
triadic
#A558E4 #E4A558 #58E4A5
tetradic
#A558E4 #E45F58 #97E458 #58DDE4
square
#A558E4 #E45F58 #97E458 #58DDE4
split-complementary
#A558E4 #DDE458 #58E45F
monochromatic
#681BA7 #8923DB #A558E4 #C18DED #DEC1F5

Accessibility & contrast

On white

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

On black

5.12
#A558E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A558E4
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A558E4#FFFFFF#000000##000000
##A558E41.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#047BE8
Deuteranopia (green-blind)
#3C7EE1
Tritanopia (blue-blind)
#9B7496
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a558e4;
/* rgb */ color: rgb(165, 88, 228);
/* oklch */ color: oklch(61.5% 0.208 306.6);
Tailwind
colors: {
  custom: {
    50: '#c48bed',
    500: '#a558e4',
    950: '#000000',
  },
}
SCSS
$custom: #a558e4;
$custom-light: #c48bed;
$custom-dark: #000000;
JSON
{
  "hex": "#a558e4",
  "rgb": {
    "r": 165,
    "g": 88,
    "b": 228
  },
  "hsl": {
    "h": 273,
    "s": 72.165,
    "l": 61.961
  },
  "oklch": {
    "l": 0.61465,
    "c": 0.2078,
    "h": 306.6
  },
  "luminance": 0.2058
}

Semantic roles & 50–950 ramp

primary
#A558E4
secondary
#C9E6B2
accent
#D41169
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A558E4

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

Preview Lab → · Contrast checker → · Palette generator →

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