#A558DC#A558DC

#A558DC is a mid, vivid violet. Relative luminance 0.201; OKLCH L 61.0% C 0.199 H 308.5°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#A558DC
RGBrgb(165, 88, 220)
HSLhsl(275, 65%, 60%)
HSVhsv(275, 60%, 86%)
CMYKcmyk(25%, 60%, 0%, 13.7%)
CIE-LABlab(52.00, 54.44, -55.29)
CIE-LCHlch(52.00, 77.59, 314.56°)
OKLaboklab(60.96% 0.1241 -0.1559)
OKLCHoklch(60.96% 0.199 308.5)
XYZxyz(31.9225, 20.1466, 69.9033)
Luminance0.2015 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A558DC #8FDC58
analogous
#6358DC #A558DC #DC58D1
triadic
#A558DC #DCA558 #58DCA5
tetradic
#A558DC #DC6358 #8FDC58 #58D1DC
square
#A558DC #DC6358 #8FDC58 #58D1DC
split-complementary
#A558DC #D1DC58 #58DC63
monochromatic
#672099 #892BCC #A558DC #C08BE7 #DCBDF1

Accessibility & contrast

On white

4.18
#A558DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#A558DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A558DC
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A558DC#FFFFFF#000000##000000
##A558DC1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F79E0
Deuteranopia (green-blind)
#457DD9
Tritanopia (blue-blind)
#9D7292
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a558dc;
/* rgb */ color: rgb(165, 88, 220);
/* oklch */ color: oklch(61.0% 0.199 308.5);
Tailwind
colors: {
  custom: {
    50: '#c38be7',
    500: '#a558dc',
    950: '#000000',
  },
}
SCSS
$custom: #a558dc;
$custom-light: #c38be7;
$custom-dark: #000000;
JSON
{
  "hex": "#a558dc",
  "rgb": {
    "r": 165,
    "g": 88,
    "b": 220
  },
  "hsl": {
    "h": 275,
    "s": 65.347,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60957,
    "c": 0.19922,
    "h": 308.5
  },
  "luminance": 0.20146
}

Semantic roles & 50–950 ramp

primary
#A558DC
secondary
#C4E1AF
accent
#CD1864
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A558DC

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

Preview Lab → · Contrast checker → · Palette generator →

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