#A159E7#A159E7

#A159E7 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.4% C 0.209 H 304.3°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#A159E7
RGBrgb(161, 89, 231)
HSLhsl(270, 75%, 63%)
HSVhsv(270, 61%, 91%)
CMYKcmyk(30.3%, 61.5%, 0%, 9.4%)
CIE-LABlab(52.39, 55.54, -60.90)
CIE-LCHlch(52.39, 82.43, 312.36°)
OKLaboklab(61.35% 0.1175 -0.1725)
OKLCHoklch(61.35% 0.209 304.3)
XYZxyz(32.6909, 20.4915, 77.8188)
Luminance0.2049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A159E7 #9FE759
analogous
#5A59E7 #A159E7 #E759E6
triadic
#A159E7 #E7A159 #59E7A1
tetradic
#A159E7 #E75A59 #9FE759 #59E6E7
square
#A159E7 #E75A59 #9FE759 #59E6E7
split-complementary
#A159E7 #E6E759 #59E75A
monochromatic
#6419AD #8324DF #A159E7 #BF8EEF #DEC4F6

Accessibility & contrast

On white

4.12
#A159E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#A159E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A159E7
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A159E7#FFFFFF#000000##000000
##A159E71.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEB
Deuteranopia (green-blind)
#347DE4
Tritanopia (blue-blind)
#947798
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a159e7;
/* rgb */ color: rgb(161, 89, 231);
/* oklch */ color: oklch(61.4% 0.209 304.3);
Tailwind
colors: {
  custom: {
    50: '#c18bef',
    500: '#a159e7',
    950: '#000000',
  },
}
SCSS
$custom: #a159e7;
$custom-light: #c18bef;
$custom-dark: #000000;
JSON
{
  "hex": "#a159e7",
  "rgb": {
    "r": 161,
    "g": 89,
    "b": 231
  },
  "hsl": {
    "h": 270.423,
    "s": 74.737,
    "l": 62.745
  },
  "oklch": {
    "l": 0.6135,
    "c": 0.20868,
    "h": 304.3
  },
  "luminance": 0.20491
}

Semantic roles & 50–950 ramp

primary
#A159E7
secondary
#CEE8B4
accent
#D70F71
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A159E7

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

Preview Lab → · Contrast checker → · Palette generator →

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