#A559B2#A559B2

#A559B2 is a mid, vivid purple. Relative luminance 0.184; OKLCH L 58.7% C 0.153 H 321.6°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#A559B2
RGBrgb(165, 89, 178)
HSLhsl(291, 37%, 52%)
HSVhsv(291, 50%, 70%)
CMYKcmyk(7.3%, 50%, 0%, 30.2%)
CIE-LABlab(49.93, 45.01, -34.44)
CIE-LCHlch(49.93, 56.68, 322.57°)
OKLaboklab(58.7% 0.1201 -0.0952)
OKLCHoklch(58.7% 0.153 321.6)
XYZxyz(27.1244, 18.3596, 44.2258)
Luminance0.1836 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A559B2 #66B259
analogous
#7959B2 #A559B2 #B25993
triadic
#A559B2 #B2A559 #59B2A5
tetradic
#A559B2 #B27959 #66B259 #5993B2
square
#A559B2 #B27959 #66B259 #5993B2
split-complementary
#A559B2 #93B259 #59B279
monochromatic
#5B2E63 #82418D #A559B2 #BC83C5 #D2ADD9

Accessibility & contrast

On white

4.50
#A559B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#A559B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A559B2
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A559B2#FFFFFF#000000##000000
##A559B21.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B71B5
Deuteranopia (green-blind)
#627AAF
Tritanopia (blue-blind)
#A7657D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a559b2;
/* rgb */ color: rgb(165, 89, 178);
/* oklch */ color: oklch(58.7% 0.153 321.6);
Tailwind
colors: {
  custom: {
    50: '#c28bc9',
    500: '#a559b2',
    950: '#000000',
  },
}
SCSS
$custom: #a559b2;
$custom-light: #c28bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#a559b2",
  "rgb": {
    "r": 165,
    "g": 89,
    "b": 178
  },
  "hsl": {
    "h": 291.236,
    "s": 36.626,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58703,
    "c": 0.15326,
    "h": 321.6
  },
  "luminance": 0.18358
}

Semantic roles & 50–950 ramp

primary
#A559B2
secondary
#A6C7A0
accent
#CD5B6C
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #A559B2

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

Preview Lab → · Contrast checker → · Palette generator →

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