#A159ED#A159ED

#A159ED is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.7% C 0.215 H 303.0°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#A159ED
RGBrgb(161, 89, 237)
HSLhsl(269, 80%, 64%)
HSVhsv(269, 62%, 93%)
CMYKcmyk(32.1%, 62.4%, 0%, 7.1%)
CIE-LABlab(52.77, 56.95, -63.66)
CIE-LCHlch(52.77, 85.42, 311.82°)
OKLaboklab(61.75% 0.1171 -0.1806)
OKLCHoklch(61.75% 0.215 303)
XYZxyz(33.5529, 20.8363, 82.3585)
Luminance0.2084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A159ED #A5ED59
analogous
#595BED #A159ED #EB59ED
triadic
#A159ED #EDA159 #59EDA1
tetradic
#A159ED #ED595B #A5ED59 #59EDEB
square
#A159ED #ED595B #A5ED59 #59EDEB
split-complementary
#A159ED #EDEB59 #5BED59
monochromatic
#6414B8 #8222E7 #A159ED #C090F3 #E0C7F9

Accessibility & contrast

On white

4.06
#A159ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#A159ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A159ED
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A159ED#FFFFFF#000000##000000
##A159ED1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF2
Deuteranopia (green-blind)
#2B7EEA
Tritanopia (blue-blind)
#92799B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a159ed;
/* rgb */ color: rgb(161, 89, 237);
/* oklch */ color: oklch(61.7% 0.215 303.0);
Tailwind
colors: {
  custom: {
    50: '#c28cf4',
    500: '#a159ed',
    950: '#000000',
  },
}
SCSS
$custom: #a159ed;
$custom-light: #c28cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#a159ed",
  "rgb": {
    "r": 161,
    "g": 89,
    "b": 237
  },
  "hsl": {
    "h": 269.189,
    "s": 80.435,
    "l": 63.922
  },
  "oklch": {
    "l": 0.61748,
    "c": 0.21524,
    "h": 303
  },
  "luminance": 0.20836
}

Semantic roles & 50–950 ramp

primary
#A159ED
secondary
#D2EBB7
accent
#DD0976
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #A159ED

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

Preview Lab → · Contrast checker → · Palette generator →

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