#A558B2#A558B2

#A558B2 is a mid, vivid purple. Relative luminance 0.182; OKLCH L 58.6% C 0.155 H 321.7°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#A558B2
RGBrgb(165, 88, 178)
HSLhsl(291, 37%, 52%)
HSVhsv(291, 51%, 70%)
CMYKcmyk(7.3%, 50.6%, 0%, 30.2%)
CIE-LABlab(49.73, 45.53, -34.76)
CIE-LCHlch(49.73, 57.28, 322.64°)
OKLaboklab(58.56% 0.1215 -0.0961)
OKLCHoklch(58.56% 0.155 321.7)
XYZxyz(27.0418, 18.1943, 44.1983)
Luminance0.1819 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A558B2 #65B258
analogous
#7858B2 #A558B2 #B25892
triadic
#A558B2 #B2A558 #58B2A5
tetradic
#A558B2 #B27858 #65B258 #5892B2
square
#A558B2 #B27858 #65B258 #5892B2
split-complementary
#A558B2 #92B258 #58B278
monochromatic
#5B2D62 #81418C #A558B2 #BC82C5 #D2ACD9

Accessibility & contrast

On white

4.53
#A558B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#A558B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A558B2
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A558B2#FFFFFF#000000##000000
##A558B21.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A71B5
Deuteranopia (green-blind)
#6179AF
Tritanopia (blue-blind)
#A7647D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a558b2;
/* rgb */ color: rgb(165, 88, 178);
/* oklch */ color: oklch(58.6% 0.155 321.7);
Tailwind
colors: {
  custom: {
    50: '#c28ac9',
    500: '#a558b2',
    950: '#000000',
  },
}
SCSS
$custom: #a558b2;
$custom-light: #c28ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#a558b2",
  "rgb": {
    "r": 165,
    "g": 88,
    "b": 178
  },
  "hsl": {
    "h": 291.333,
    "s": 36.885,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58556,
    "c": 0.15492,
    "h": 321.7
  },
  "luminance": 0.18193
}

Semantic roles & 50–950 ramp

primary
#A558B2
secondary
#A5C79F
accent
#CD5B6B
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #A558B2

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

Preview Lab → · Contrast checker → · Palette generator →

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