#A159EA#A159EA

#A159EA is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.5% C 0.212 H 303.6°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#A159EA
RGBrgb(161, 89, 234)
HSLhsl(270, 78%, 63%)
HSVhsv(270, 62%, 92%)
CMYKcmyk(31.2%, 62%, 0%, 8.2%)
CIE-LABlab(52.58, 56.25, -62.28)
CIE-LCHlch(52.58, 83.92, 312.08°)
OKLaboklab(61.55% 0.1173 -0.1765)
OKLCHoklch(61.55% 0.212 303.6)
XYZxyz(33.1182, 20.6624, 80.0694)
Luminance0.2066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A159EA #A2EA59
analogous
#5959EA #A159EA #E959EA
triadic
#A159EA #EAA159 #59EAA1
tetradic
#A159EA #EA5959 #A2EA59 #59EAE9
square
#A159EA #EA5959 #A2EA59 #59EAE9
split-complementary
#A159EA #EAE959 #59EA59
monochromatic
#6417B2 #8223E3 #A159EA #C08FF1 #DFC6F8

Accessibility & contrast

On white

4.09
#A159EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#A159EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A159EA
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A159EA#FFFFFF#000000##000000
##A159EA1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEF
Deuteranopia (green-blind)
#307DE7
Tritanopia (blue-blind)
#937899
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a159ea;
/* rgb */ color: rgb(161, 89, 234);
/* oklch */ color: oklch(61.5% 0.212 303.6);
Tailwind
colors: {
  custom: {
    50: '#c18cf1',
    500: '#a159ea',
    950: '#000000',
  },
}
SCSS
$custom: #a159ea;
$custom-light: #c18cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#a159ea",
  "rgb": {
    "r": 161,
    "g": 89,
    "b": 234
  },
  "hsl": {
    "h": 269.793,
    "s": 77.54,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61548,
    "c": 0.21196,
    "h": 303.6
  },
  "luminance": 0.20662
}

Semantic roles & 50–950 ramp

primary
#A159EA
secondary
#D0E9B6
accent
#DA0C73
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A159EA

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

Preview Lab → · Contrast checker → · Palette generator →

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