#A558E8#A558E8

#A558E8 is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.7% C 0.212 H 305.7°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#A558E8
RGBrgb(165, 88, 232)
HSLhsl(272, 76%, 63%)
HSVhsv(272, 62%, 91%)
CMYKcmyk(28.9%, 62.1%, 0%, 9%)
CIE-LABlab(52.74, 57.16, -60.88)
CIE-LCHlch(52.74, 83.51, 313.19°)
OKLaboklab(61.72% 0.1237 -0.1723)
OKLCHoklch(61.72% 0.212 305.7)
XYZxyz(33.5691, 20.8052, 78.5756)
Luminance0.2081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A558E8 #9BE858
analogous
#5D58E8 #A558E8 #E858E3
triadic
#A558E8 #E8A558 #58E8A5
tetradic
#A558E8 #E85D58 #9BE858 #58E3E8
square
#A558E8 #E85D58 #9BE858 #58E3E8
split-complementary
#A558E8 #E3E858 #58E85D
monochromatic
#6818AE #8822E1 #A558E8 #C28EEF #DFC4F7

Accessibility & contrast

On white

4.07
#A558E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#A558E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A558E8
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A558E8#FFFFFF#000000##000000
##A558E81.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEC
Deuteranopia (green-blind)
#377EE5
Tritanopia (blue-blind)
#997698
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a558e8;
/* rgb */ color: rgb(165, 88, 232);
/* oklch */ color: oklch(61.7% 0.212 305.7);
Tailwind
colors: {
  custom: {
    50: '#c48bf0',
    500: '#a558e8',
    950: '#000000',
  },
}
SCSS
$custom: #a558e8;
$custom-light: #c48bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#a558e8",
  "rgb": {
    "r": 165,
    "g": 88,
    "b": 232
  },
  "hsl": {
    "h": 272.083,
    "s": 75.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.61724,
    "c": 0.21209,
    "h": 305.7
  },
  "luminance": 0.20805
}

Semantic roles & 50–950 ramp

primary
#A558E8
secondary
#CCE8B4
accent
#D80E6C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A558E8

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

Preview Lab → · Contrast checker → · Palette generator →

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