#A558EF#A558EF

#A558EF is a light, highly saturated violet. Relative luminance 0.212; OKLCH L 62.2% C 0.220 H 304.2°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#A558EF
RGBrgb(165, 88, 239)
HSLhsl(271, 83%, 64%)
HSVhsv(271, 63%, 94%)
CMYKcmyk(31%, 63.2%, 0%, 6.3%)
CIE-LABlab(53.18, 58.77, -64.09)
CIE-LCHlch(53.18, 86.96, 312.52°)
OKLaboklab(62.19% 0.1233 -0.1817)
OKLCHoklch(62.19% 0.22 304.2)
XYZxyz(34.5833, 21.2109, 83.9168)
Luminance0.2121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A558EF #A2EF58
analogous
#5A58EF #A558EF #EF58EE
triadic
#A558EF #EFA558 #58EFA5
tetradic
#A558EF #EF5A58 #A2EF58 #58EEEF
square
#A558EF #EF5A58 #A2EF58 #58EEEF
split-complementary
#A558EF #EEEF58 #58EF5A
monochromatic
#6812BB #8720EA #A558EF #C390F4 #E1C8FA

Accessibility & contrast

On white

4.01
#A558EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#A558EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A558EF
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A558EF#FFFFFF#000000##000000
##A558EF1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF4
Deuteranopia (green-blind)
#2C7FEC
Tritanopia (blue-blind)
#97789C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a558ef;
/* rgb */ color: rgb(165, 88, 239);
/* oklch */ color: oklch(62.2% 0.220 304.2);
Tailwind
colors: {
  custom: {
    50: '#c48bf5',
    500: '#a558ef',
    950: '#000000',
  },
}
SCSS
$custom: #a558ef;
$custom-light: #c48bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#a558ef",
  "rgb": {
    "r": 165,
    "g": 88,
    "b": 239
  },
  "hsl": {
    "h": 270.596,
    "s": 82.514,
    "l": 64.118
  },
  "oklch": {
    "l": 0.62187,
    "c": 0.21959,
    "h": 304.2
  },
  "luminance": 0.21211
}

Semantic roles & 50–950 ramp

primary
#A558EF
secondary
#D1ECB7
accent
#DF0771
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #A558EF

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

Preview Lab → · Contrast checker → · Palette generator →

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