#A558E1#A558E1

#A558E1 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.3% C 0.205 H 307.3°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#A558E1
RGBrgb(165, 88, 225)
HSLhsl(274, 70%, 61%)
HSVhsv(274, 61%, 88%)
CMYKcmyk(26.7%, 60.9%, 0%, 11.8%)
CIE-LABlab(52.30, 55.56, -57.63)
CIE-LCHlch(52.30, 80.06, 313.95°)
OKLaboklab(61.27% 0.124 -0.1627)
OKLCHoklch(61.27% 0.205 307.3)
XYZxyz(32.5946, 20.4154, 73.4430)
Luminance0.2041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A558E1 #94E158
analogous
#6158E1 #A558E1 #E158D8
triadic
#A558E1 #E1A558 #58E1A5
tetradic
#A558E1 #E16158 #94E158 #58D8E1
square
#A558E1 #E16158 #94E158 #58D8E1
split-complementary
#A558E1 #D8E158 #58E161
monochromatic
#681DA2 #8926D5 #A558E1 #C18CEA #DDC0F4

Accessibility & contrast

On white

4.13
#A558E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#A558E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A558E1
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A558E1#FFFFFF#000000##000000
##A558E11.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#117AE5
Deuteranopia (green-blind)
#407DDE
Tritanopia (blue-blind)
#9C7394
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a558e1;
/* rgb */ color: rgb(165, 88, 225);
/* oklch */ color: oklch(61.3% 0.205 307.3);
Tailwind
colors: {
  custom: {
    50: '#c38beb',
    500: '#a558e1',
    950: '#000000',
  },
}
SCSS
$custom: #a558e1;
$custom-light: #c38beb;
$custom-dark: #000000;
JSON
{
  "hex": "#a558e1",
  "rgb": {
    "r": 165,
    "g": 88,
    "b": 225
  },
  "hsl": {
    "h": 273.723,
    "s": 69.543,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61273,
    "c": 0.20458,
    "h": 307.3
  },
  "luminance": 0.20415
}

Semantic roles & 50–950 ramp

primary
#A558E1
secondary
#C7E4B1
accent
#D21467
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A558E1

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

Preview Lab → · Contrast checker → · Palette generator →

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