#A558D2#A558D2

#A558D2 is a mid, vivid violet. Relative luminance 0.196; OKLCH L 60.3% C 0.189 H 311.1°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#A558D2
RGBrgb(165, 88, 210)
HSLhsl(278, 58%, 58%)
HSVhsv(278, 58%, 82%)
CMYKcmyk(21.4%, 58.1%, 0%, 17.6%)
CIE-LABlab(51.42, 52.23, -50.54)
CIE-LCHlch(51.42, 72.67, 315.94°)
OKLaboklab(60.35% 0.124 -0.142)
OKLCHoklch(60.35% 0.189 311.1)
XYZxyz(30.6375, 19.6326, 63.1358)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A558D2 #85D258
analogous
#6858D2 #A558D2 #D258C2
triadic
#A558D2 #D2A558 #58D2A5
tetradic
#A558D2 #D26858 #85D258 #58C2D2
square
#A558D2 #D26858 #85D258 #58C2D2
split-complementary
#A558D2 #C2D258 #58D268
monochromatic
#65258A #8832BB #A558D2 #BF88DF #D9B8EC

Accessibility & contrast

On white

4.26
#A558D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#A558D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A558D2
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A558D2#FFFFFF#000000##000000
##A558D21.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F77D6
Deuteranopia (green-blind)
#4E7CCF
Tritanopia (blue-blind)
#A06E8D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a558d2;
/* rgb */ color: rgb(165, 88, 210);
/* oklch */ color: oklch(60.3% 0.189 311.1);
Tailwind
colors: {
  custom: {
    50: '#c38be0',
    500: '#a558d2',
    950: '#000000',
  },
}
SCSS
$custom: #a558d2;
$custom-light: #c38be0;
$custom-dark: #000000;
JSON
{
  "hex": "#a558d2",
  "rgb": {
    "r": 165,
    "g": 88,
    "b": 210
  },
  "hsl": {
    "h": 277.869,
    "s": 57.547,
    "l": 58.431
  },
  "oklch": {
    "l": 0.60345,
    "c": 0.1885,
    "h": 311.1
  },
  "luminance": 0.19632
}

Semantic roles & 50–950 ramp

primary
#A558D2
secondary
#BDDBAB
accent
#E14780
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A558D2

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

Preview Lab → · Contrast checker → · Palette generator →

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