#A558D5#A558D5

#A558D5 is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.5% C 0.192 H 310.3°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#A558D5
RGBrgb(165, 88, 213)
HSLhsl(277, 60%, 59%)
HSVhsv(277, 59%, 84%)
CMYKcmyk(22.5%, 58.7%, 0%, 16.5%)
CIE-LABlab(51.59, 52.89, -51.97)
CIE-LCHlch(51.59, 74.15, 315.50°)
OKLaboklab(60.53% 0.1241 -0.1462)
OKLCHoklch(60.53% 0.192 310.3)
XYZxyz(31.0147, 19.7835, 65.1227)
Luminance0.1978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A558D5 #88D558
analogous
#6758D5 #A558D5 #D558C7
triadic
#A558D5 #D5A558 #58D5A5
tetradic
#A558D5 #D56758 #88D558 #58C7D5
square
#A558D5 #D56758 #88D558 #58C7D5
split-complementary
#A558D5 #C7D558 #58D567
monochromatic
#66248F #8930C0 #A558D5 #BF89E1 #DABAEE

Accessibility & contrast

On white

4.24
#A558D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#A558D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A558D5
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A558D5#FFFFFF#000000##000000
##A558D51.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B77D9
Deuteranopia (green-blind)
#4B7CD2
Tritanopia (blue-blind)
#9F6F8E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a558d5;
/* rgb */ color: rgb(165, 88, 213);
/* oklch */ color: oklch(60.5% 0.192 310.3);
Tailwind
colors: {
  custom: {
    50: '#c38be2',
    500: '#a558d5',
    950: '#000000',
  },
}
SCSS
$custom: #a558d5;
$custom-light: #c38be2;
$custom-dark: #000000;
JSON
{
  "hex": "#a558d5",
  "rgb": {
    "r": 165,
    "g": 88,
    "b": 213
  },
  "hsl": {
    "h": 276.96,
    "s": 59.809,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60526,
    "c": 0.19171,
    "h": 310.3
  },
  "luminance": 0.19783
}

Semantic roles & 50–950 ramp

primary
#A558D5
secondary
#BFDDAC
accent
#E34582
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A558D5

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

Preview Lab → · Contrast checker → · Palette generator →

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