#A559EB#A559EB

#A559EB is a light, highly saturated violet. Relative luminance 0.211; OKLCH L 62.1% C 0.214 H 304.9°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#A559EB
RGBrgb(165, 89, 235)
HSLhsl(271, 78%, 64%)
HSVhsv(271, 62%, 92%)
CMYKcmyk(29.8%, 62.1%, 0%, 7.8%)
CIE-LABlab(53.10, 57.35, -61.97)
CIE-LCHlch(53.10, 84.44, 312.78°)
OKLaboklab(62.05% 0.1224 -0.1755)
OKLCHoklch(62.05% 0.214 304.9)
XYZxyz(34.0815, 21.1424, 80.8666)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A559EB #9FEB59
analogous
#5C59EB #A559EB #EB59E8
triadic
#A559EB #EBA559 #59EBA5
tetradic
#A559EB #EB5C59 #9FEB59 #59E8EB
square
#A559EB #EB5C59 #9FEB59 #59E8EB
split-complementary
#A559EB #E8EB59 #59EB5C
monochromatic
#6816B4 #8722E4 #A559EB #C390F2 #E0C6F8

Accessibility & contrast

On white

4.02
#A559EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#A559EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A559EB
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A559EB#FFFFFF#000000##000000
##A559EB1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF0
Deuteranopia (green-blind)
#347FE8
Tritanopia (blue-blind)
#98779A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a559eb;
/* rgb */ color: rgb(165, 89, 235);
/* oklch */ color: oklch(62.1% 0.214 304.9);
Tailwind
colors: {
  custom: {
    50: '#c48cf2',
    500: '#a559eb',
    950: '#000000',
  },
}
SCSS
$custom: #a559eb;
$custom-light: #c48cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#a559eb",
  "rgb": {
    "r": 165,
    "g": 89,
    "b": 235
  },
  "hsl": {
    "h": 271.233,
    "s": 78.495,
    "l": 63.529
  },
  "oklch": {
    "l": 0.62052,
    "c": 0.21396,
    "h": 304.9
  },
  "luminance": 0.21142
}

Semantic roles & 50–950 ramp

primary
#A559EB
secondary
#CFEAB6
accent
#DB0B6E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A559EB

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

Preview Lab → · Contrast checker → · Palette generator →

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