#A159D2#A159D2

#A159D2 is a mid, vivid violet. Relative luminance 0.194; OKLCH L 60.0% C 0.186 H 309.4°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#A159D2
RGBrgb(161, 89, 210)
HSLhsl(276, 57%, 59%)
HSVhsv(276, 58%, 82%)
CMYKcmyk(23.3%, 57.6%, 0%, 17.6%)
CIE-LABlab(51.12, 50.73, -51.04)
CIE-LCHlch(51.12, 71.96, 314.83°)
OKLaboklab(60.02% 0.1177 -0.1435)
OKLCHoklch(60.02% 0.186 309.4)
XYZxyz(29.9009, 19.3755, 63.1249)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A159D2 #8AD259
analogous
#6459D2 #A159D2 #D259C7
triadic
#A159D2 #D2A159 #59D2A1
tetradic
#A159D2 #D26459 #8AD259 #59C7D2
square
#A159D2 #D26459 #8AD259 #59C7D2
split-complementary
#A159D2 #C7D259 #59D264
monochromatic
#62268B #8433BB #A159D2 #BC89DF #D8B9EC

Accessibility & contrast

On white

4.31
#A159D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#A159D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A159D2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A159D2#FFFFFF#000000##000000
##A159D21.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E77D6
Deuteranopia (green-blind)
#4B7BCF
Tritanopia (blue-blind)
#9A6F8D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a159d2;
/* rgb */ color: rgb(161, 89, 210);
/* oklch */ color: oklch(60.0% 0.186 309.4);
Tailwind
colors: {
  custom: {
    50: '#c08be0',
    500: '#a159d2',
    950: '#000000',
  },
}
SCSS
$custom: #a159d2;
$custom-light: #c08be0;
$custom-dark: #000000;
JSON
{
  "hex": "#a159d2",
  "rgb": {
    "r": 161,
    "g": 89,
    "b": 210
  },
  "hsl": {
    "h": 275.702,
    "s": 57.346,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60023,
    "c": 0.18565,
    "h": 309.4
  },
  "luminance": 0.19375
}

Semantic roles & 50–950 ramp

primary
#A159D2
secondary
#BFDBAB
accent
#E14785
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A159D2

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

Preview Lab → · Contrast checker → · Palette generator →

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