#A159E4#A159E4

#A159E4 is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.2% C 0.205 H 304.9°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#A159E4
RGBrgb(161, 89, 228)
HSLhsl(271, 72%, 62%)
HSVhsv(271, 61%, 89%)
CMYKcmyk(29.4%, 61%, 0%, 10.6%)
CIE-LABlab(52.20, 54.84, -59.52)
CIE-LCHlch(52.20, 80.93, 312.66°)
OKLaboklab(61.15% 0.1176 -0.1684)
OKLCHoklch(61.15% 0.205 304.9)
XYZxyz(32.2708, 20.3234, 75.6065)
Luminance0.2032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A159E4 #9CE459
analogous
#5C59E4 #A159E4 #E459E2
triadic
#A159E4 #E4A159 #59E4A1
tetradic
#A159E4 #E45C59 #9CE459 #59E2E4
square
#A159E4 #E45C59 #9CE459 #59E2E4
split-complementary
#A159E4 #E2E459 #59E45C
monochromatic
#641BA7 #8324DB #A159E4 #BF8EED #DDC2F5

Accessibility & contrast

On white

4.15
#A159E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#A159E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A159E4
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A159E4#FFFFFF#000000##000000
##A159E41.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#027AE8
Deuteranopia (green-blind)
#387DE1
Tritanopia (blue-blind)
#957696
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a159e4;
/* rgb */ color: rgb(161, 89, 228);
/* oklch */ color: oklch(61.2% 0.205 304.9);
Tailwind
colors: {
  custom: {
    50: '#c18bed',
    500: '#a159e4',
    950: '#000000',
  },
}
SCSS
$custom: #a159e4;
$custom-light: #c18bed;
$custom-dark: #000000;
JSON
{
  "hex": "#a159e4",
  "rgb": {
    "r": 161,
    "g": 89,
    "b": 228
  },
  "hsl": {
    "h": 271.079,
    "s": 72.021,
    "l": 62.157
  },
  "oklch": {
    "l": 0.61154,
    "c": 0.2054,
    "h": 304.9
  },
  "luminance": 0.20323
}

Semantic roles & 50–950 ramp

primary
#A159E4
secondary
#CBE6B3
accent
#D4116F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A159E4

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

Preview Lab → · Contrast checker → · Palette generator →

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