#A159C8#A159C8

#A159C8 is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.4% C 0.175 H 312.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#A159C8
RGBrgb(161, 89, 200)
HSLhsl(279, 50%, 57%)
HSVhsv(279, 56%, 78%)
CMYKcmyk(19.5%, 55.5%, 0%, 21.6%)
CIE-LABlab(50.56, 48.52, -46.21)
CIE-LCHlch(50.56, 67.00, 316.40°)
OKLaboklab(59.43% 0.1174 -0.1294)
OKLCHoklch(59.43% 0.175 312.2)
XYZxyz(28.6938, 18.8926, 56.7675)
Luminance0.1889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A159C8 #80C859
analogous
#6A59C8 #A159C8 #C859B8
triadic
#A159C8 #C8A159 #59C8A1
tetradic
#A159C8 #C86A59 #80C859 #59B8C8
square
#A159C8 #C86A59 #80C859 #59B8C8
split-complementary
#A159C8 #B8C859 #59C86A
monochromatic
#60297D #8339AB #A159C8 #BB87D7 #D5B5E6

Accessibility & contrast

On white

4.39
#A159C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#A159C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A159C8
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A159C8#FFFFFF#000000##000000
##A159C81.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3975CC
Deuteranopia (green-blind)
#527AC5
Tritanopia (blue-blind)
#9D6C88
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a159c8;
/* rgb */ color: rgb(161, 89, 200);
/* oklch */ color: oklch(59.4% 0.175 312.2);
Tailwind
colors: {
  custom: {
    50: '#bf8bd9',
    500: '#a159c8',
    950: '#000000',
  },
}
SCSS
$custom: #a159c8;
$custom-light: #bf8bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#a159c8",
  "rgb": {
    "r": 161,
    "g": 89,
    "b": 200
  },
  "hsl": {
    "h": 278.919,
    "s": 50.226,
    "l": 56.667
  },
  "oklch": {
    "l": 0.59429,
    "c": 0.17472,
    "h": 312.2
  },
  "luminance": 0.18892
}

Semantic roles & 50–950 ramp

primary
#A159C8
secondary
#B8D5A8
accent
#DA4E7F
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#120C15
muted
#817D83

Preview Lab

Preview with #A159C8

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

Preview Lab → · Contrast checker → · Palette generator →

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