#A159E5#A159E5

#A159E5 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.2% C 0.206 H 304.7°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#A159E5
RGBrgb(161, 89, 229)
HSLhsl(271, 73%, 62%)
HSVhsv(271, 61%, 90%)
CMYKcmyk(29.7%, 61.1%, 0%, 10.2%)
CIE-LABlab(52.26, 55.08, -59.98)
CIE-LCHlch(52.26, 81.43, 312.56°)
OKLaboklab(61.22% 0.1176 -0.1698)
OKLCHoklch(61.22% 0.206 304.7)
XYZxyz(32.4101, 20.3791, 76.3397)
Luminance0.2038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A159E5 #9DE559
analogous
#5B59E5 #A159E5 #E559E3
triadic
#A159E5 #E5A159 #59E5A1
tetradic
#A159E5 #E55B59 #9DE559 #59E3E5
square
#A159E5 #E55B59 #9DE559 #59E3E5
split-complementary
#A159E5 #E3E559 #59E55B
monochromatic
#641AA9 #8324DD #A159E5 #BF8EED #DDC3F6

Accessibility & contrast

On white

4.14
#A159E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#A159E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A159E5
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A159E5#FFFFFF#000000##000000
##A159E51.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BE9
Deuteranopia (green-blind)
#377DE2
Tritanopia (blue-blind)
#957697
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a159e5;
/* rgb */ color: rgb(161, 89, 229);
/* oklch */ color: oklch(61.2% 0.206 304.7);
Tailwind
colors: {
  custom: {
    50: '#c18bee',
    500: '#a159e5',
    950: '#000000',
  },
}
SCSS
$custom: #a159e5;
$custom-light: #c18bee;
$custom-dark: #000000;
JSON
{
  "hex": "#a159e5",
  "rgb": {
    "r": 161,
    "g": 89,
    "b": 229
  },
  "hsl": {
    "h": 270.857,
    "s": 72.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.61219,
    "c": 0.20649,
    "h": 304.7
  },
  "luminance": 0.20379
}

Semantic roles & 50–950 ramp

primary
#A159E5
secondary
#CCE6B3
accent
#D51070
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A159E5

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

Preview Lab → · Contrast checker → · Palette generator →

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