#A159EB#A159EB

#A159EB is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.6% C 0.213 H 303.4°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#A159EB
RGBrgb(161, 89, 235)
HSLhsl(270, 78%, 64%)
HSVhsv(270, 62%, 92%)
CMYKcmyk(31.5%, 62.1%, 0%, 7.8%)
CIE-LABlab(52.64, 56.48, -62.74)
CIE-LCHlch(52.64, 84.42, 311.99°)
OKLaboklab(61.61% 0.1173 -0.1779)
OKLCHoklch(61.61% 0.213 303.4)
XYZxyz(33.2623, 20.7200, 80.8282)
Luminance0.2072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A159EB #A3EB59
analogous
#595AEB #A159EB #EA59EB
triadic
#A159EB #EBA159 #59EBA1
tetradic
#A159EB #EB595A #A3EB59 #59EBEA
square
#A159EB #EB595A #A3EB59 #59EBEA
split-complementary
#A159EB #EBEA59 #5AEB59
monochromatic
#6416B4 #8222E4 #A159EB #C090F2 #DFC6F8

Accessibility & contrast

On white

4.08
#A159EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#A159EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A159EB
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A159EB#FFFFFF#000000##000000
##A159EB1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF0
Deuteranopia (green-blind)
#2E7DE8
Tritanopia (blue-blind)
#93789A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a159eb;
/* rgb */ color: rgb(161, 89, 235);
/* oklch */ color: oklch(61.6% 0.213 303.4);
Tailwind
colors: {
  custom: {
    50: '#c18cf2',
    500: '#a159eb',
    950: '#000000',
  },
}
SCSS
$custom: #a159eb;
$custom-light: #c18cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#a159eb",
  "rgb": {
    "r": 161,
    "g": 89,
    "b": 235
  },
  "hsl": {
    "h": 269.589,
    "s": 78.495,
    "l": 63.529
  },
  "oklch": {
    "l": 0.61614,
    "c": 0.21305,
    "h": 303.4
  },
  "luminance": 0.2072
}

Semantic roles & 50–950 ramp

primary
#A159EB
secondary
#D0EAB6
accent
#DB0B74
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A159EB

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

Preview Lab → · Contrast checker → · Palette generator →

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