#A159DC#A159DC

#A159DC is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.6% C 0.197 H 306.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#A159DC
RGBrgb(161, 89, 220)
HSLhsl(273, 65%, 61%)
HSVhsv(273, 60%, 86%)
CMYKcmyk(26.8%, 59.5%, 0%, 13.7%)
CIE-LABlab(51.71, 53.00, -55.78)
CIE-LCHlch(51.71, 76.94, 313.53°)
OKLaboklab(60.64% 0.1178 -0.1574)
OKLCHoklch(60.64% 0.197 306.8)
XYZxyz(31.1859, 19.8895, 69.8924)
Luminance0.1989 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A159DC #94DC59
analogous
#5F59DC #A159DC #DC59D5
triadic
#A159DC #DCA159 #59DCA1
tetradic
#A159DC #DC5F59 #94DC59 #59D5DC
square
#A159DC #DC5F59 #94DC59 #59D5DC
split-complementary
#A159DC #D5DC59 #59DC5F
monochromatic
#63209A #842BCD #A159DC #BE8CE7 #DABEF1

Accessibility & contrast

On white

4.22
#A159DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#A159DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A159DC
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A159DC#FFFFFF#000000##000000
##A159DC1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E79E0
Deuteranopia (green-blind)
#427CD9
Tritanopia (blue-blind)
#987392
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a159dc;
/* rgb */ color: rgb(161, 89, 220);
/* oklch */ color: oklch(60.6% 0.197 306.8);
Tailwind
colors: {
  custom: {
    50: '#c08be7',
    500: '#a159dc',
    950: '#000000',
  },
}
SCSS
$custom: #a159dc;
$custom-light: #c08be7;
$custom-dark: #000000;
JSON
{
  "hex": "#a159dc",
  "rgb": {
    "r": 161,
    "g": 89,
    "b": 220
  },
  "hsl": {
    "h": 272.977,
    "s": 65.174,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60641,
    "c": 0.19662,
    "h": 306.8
  },
  "luminance": 0.19889
}

Semantic roles & 50–950 ramp

primary
#A159DC
secondary
#C6E1AF
accent
#CD186A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A159DC

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

Preview Lab → · Contrast checker → · Palette generator →

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