#A159DF#A159DF

#A159DF is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.8% C 0.200 H 306.1°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#A159DF
RGBrgb(161, 89, 223)
HSLhsl(272, 68%, 61%)
HSVhsv(272, 60%, 87%)
CMYKcmyk(27.8%, 60.1%, 0%, 12.5%)
CIE-LABlab(51.89, 53.69, -57.19)
CIE-LCHlch(51.89, 78.44, 313.19°)
OKLaboklab(60.83% 0.1177 -0.1616)
OKLCHoklch(60.83% 0.2 306.1)
XYZxyz(31.5868, 20.0498, 72.0037)
Luminance0.2005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A159DF #97DF59
analogous
#5E59DF #A159DF #DF59DA
triadic
#A159DF #DFA159 #59DFA1
tetradic
#A159DF #DF5E59 #97DF59 #59DADF
square
#A159DF #DF5E59 #97DF59 #59DADF
split-complementary
#A159DF #DADF59 #59DF5E
monochromatic
#641F9F #8429D2 #A159DF #BE8CE9 #DBC0F3

Accessibility & contrast

On white

4.19
#A159DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#A159DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A159DF
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A159DF#FFFFFF#000000##000000
##A159DF1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1679E3
Deuteranopia (green-blind)
#3E7CDC
Tritanopia (blue-blind)
#977494
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a159df;
/* rgb */ color: rgb(161, 89, 223);
/* oklch */ color: oklch(60.8% 0.200 306.1);
Tailwind
colors: {
  custom: {
    50: '#c18bea',
    500: '#a159df',
    950: '#000000',
  },
}
SCSS
$custom: #a159df;
$custom-light: #c18bea;
$custom-dark: #000000;
JSON
{
  "hex": "#a159df",
  "rgb": {
    "r": 161,
    "g": 89,
    "b": 223
  },
  "hsl": {
    "h": 272.239,
    "s": 67.677,
    "l": 61.176
  },
  "oklch": {
    "l": 0.60832,
    "c": 0.19991,
    "h": 306.1
  },
  "luminance": 0.2005
}

Semantic roles & 50–950 ramp

primary
#A159DF
secondary
#C8E3B1
accent
#D0166C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A159DF

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

Preview Lab → · Contrast checker → · Palette generator →

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