#A159CA#A159CA

#A159CA is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.5% C 0.177 H 311.6°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#A159CA
RGBrgb(161, 89, 202)
HSLhsl(278, 52%, 57%)
HSVhsv(278, 56%, 79%)
CMYKcmyk(20.3%, 55.9%, 0%, 20.8%)
CIE-LABlab(50.67, 48.95, -47.18)
CIE-LCHlch(50.67, 67.99, 316.06°)
OKLaboklab(59.55% 0.1175 -0.1323)
OKLCHoklch(59.55% 0.177 311.6)
XYZxyz(28.9291, 18.9867, 58.0065)
Luminance0.1899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A159CA #82CA59
analogous
#6959CA #A159CA #CA59BB
triadic
#A159CA #CAA159 #59CAA1
tetradic
#A159CA #CA6959 #82CA59 #59BBCA
square
#A159CA #CA6959 #82CA59 #59BBCA
split-complementary
#A159CA #BBCA59 #59CA69
monochromatic
#602980 #8338AE #A159CA #BB87D9 #D6B6E8

Accessibility & contrast

On white

4.38
#A159CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#A159CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A159CA
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A159CA#FFFFFF#000000##000000
##A159CA1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3775CE
Deuteranopia (green-blind)
#517AC7
Tritanopia (blue-blind)
#9C6D89
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a159ca;
/* rgb */ color: rgb(161, 89, 202);
/* oklch */ color: oklch(59.5% 0.177 311.6);
Tailwind
colors: {
  custom: {
    50: '#bf8bdb',
    500: '#a159ca',
    950: '#000000',
  },
}
SCSS
$custom: #a159ca;
$custom-light: #bf8bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#a159ca",
  "rgb": {
    "r": 161,
    "g": 89,
    "b": 202
  },
  "hsl": {
    "h": 278.23,
    "s": 51.598,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59546,
    "c": 0.1769,
    "h": 311.6
  },
  "luminance": 0.18986
}

Semantic roles & 50–950 ramp

primary
#A159CA
secondary
#B9D6A8
accent
#DB4D80
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #A159CA

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

Preview Lab → · Contrast checker → · Palette generator →

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