#A559EA#A559EA

#A559EA is a mid, highly saturated violet. Relative luminance 0.211; OKLCH L 62.0% C 0.213 H 305.1°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#A559EA
RGBrgb(165, 89, 234)
HSLhsl(271, 78%, 63%)
HSVhsv(271, 62%, 92%)
CMYKcmyk(29.5%, 62%, 0%, 8.2%)
CIE-LABlab(53.04, 57.12, -61.51)
CIE-LCHlch(53.04, 83.95, 312.88°)
OKLaboklab(61.99% 0.1224 -0.1741)
OKLCHoklch(61.99% 0.213 305.1)
XYZxyz(33.9375, 21.0848, 80.1078)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A559EA #9EEA59
analogous
#5C59EA #A559EA #EA59E7
triadic
#A559EA #EAA559 #59EAA5
tetradic
#A559EA #EA5C59 #9EEA59 #59E7EA
square
#A559EA #EA5C59 #9EEA59 #59E7EA
split-complementary
#A559EA #E7EA59 #59EA5C
monochromatic
#6817B2 #8823E3 #A559EA #C28FF1 #E0C6F8

Accessibility & contrast

On white

4.03
#A559EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#A559EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A559EA
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A559EA#FFFFFF#000000##000000
##A559EA1.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEF
Deuteranopia (green-blind)
#367FE7
Tritanopia (blue-blind)
#99779A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a559ea;
/* rgb */ color: rgb(165, 89, 234);
/* oklch */ color: oklch(62.0% 0.213 305.1);
Tailwind
colors: {
  custom: {
    50: '#c48cf1',
    500: '#a559ea',
    950: '#000000',
  },
}
SCSS
$custom: #a559ea;
$custom-light: #c48cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#a559ea",
  "rgb": {
    "r": 165,
    "g": 89,
    "b": 234
  },
  "hsl": {
    "h": 271.448,
    "s": 77.54,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61986,
    "c": 0.21288,
    "h": 305.1
  },
  "luminance": 0.21085
}

Semantic roles & 50–950 ramp

primary
#A559EA
secondary
#CEE9B6
accent
#DA0C6E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A559EA

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

Preview Lab → · Contrast checker → · Palette generator →

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