#A558BC#A558BC

#A558BC is a mid, vivid purple. Relative luminance 0.186; OKLCH L 59.1% C 0.165 H 318.0°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#A558BC
RGBrgb(165, 88, 188)
HSLhsl(286, 43%, 54%)
HSVhsv(286, 53%, 74%)
CMYKcmyk(12.2%, 53.2%, 0%, 26.3%)
CIE-LABlab(50.23, 47.55, -39.78)
CIE-LCHlch(50.23, 62.00, 320.08°)
OKLaboklab(59.09% 0.1227 -0.1106)
OKLCHoklch(59.09% 0.165 318)
XYZxyz(28.0826, 18.6106, 49.6801)
Luminance0.1861 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A558BC #6FBC58
analogous
#7358BC #A558BC #BC58A1
triadic
#A558BC #BCA558 #58BCA5
tetradic
#A558BC #BC7358 #6FBC58 #58A1BC
square
#A558BC #BC7358 #6FBC58 #58A1BC
split-complementary
#A558BC #A1BC58 #58BC73
monochromatic
#5F2C6E #843E99 #A558BC #BD84CE #D4AFDF

Accessibility & contrast

On white

4.45
#A558BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#A558BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A558BC
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A558BC#FFFFFF#000000##000000
##A558BC1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4472BF
Deuteranopia (green-blind)
#5C7AB9
Tritanopia (blue-blind)
#A56782
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a558bc;
/* rgb */ color: rgb(165, 88, 188);
/* oklch */ color: oklch(59.1% 0.165 318.0);
Tailwind
colors: {
  custom: {
    50: '#c28ad0',
    500: '#a558bc',
    950: '#000000',
  },
}
SCSS
$custom: #a558bc;
$custom-light: #c28ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#a558bc",
  "rgb": {
    "r": 165,
    "g": 88,
    "b": 188
  },
  "hsl": {
    "h": 286.2,
    "s": 42.735,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59086,
    "c": 0.16521,
    "h": 318
  },
  "luminance": 0.1861
}

Semantic roles & 50–950 ramp

primary
#A558BC
secondary
#ACCDA3
accent
#D35572
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #A558BC

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

Preview Lab → · Contrast checker → · Palette generator →

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