#A159F2#A159F2

#A159F2 is a light, highly saturated violet. Relative luminance 0.211; OKLCH L 62.1% C 0.221 H 302.0°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#A159F2
RGBrgb(161, 89, 242)
HSLhsl(268, 85%, 65%)
HSVhsv(268, 63%, 95%)
CMYKcmyk(33.5%, 63.2%, 0%, 5.1%)
CIE-LABlab(53.09, 58.13, -65.93)
CIE-LCHlch(53.09, 87.90, 311.40°)
OKLaboklab(62.09% 0.1168 -0.1872)
OKLCHoklch(62.09% 0.221 302)
XYZxyz(34.2936, 21.1325, 86.2595)
Luminance0.2113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A159F2 #AAF259
analogous
#595EF2 #A159F2 #ED59F2
triadic
#A159F2 #F2A159 #59F2A1
tetradic
#A159F2 #F2595E #AAF259 #59F2ED
square
#A159F2 #F2595E #AAF259 #59F2ED
split-complementary
#A159F2 #F2ED59 #5EF259
monochromatic
#630FC1 #8120EE #A159F2 #C192F6 #E1CBFB

Accessibility & contrast

On white

4.02
#A159F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#A159F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A159F2
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A159F2#FFFFFF#000000##000000
##A159F21.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF7
Deuteranopia (green-blind)
#207EEF
Tritanopia (blue-blind)
#917A9E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a159f2;
/* rgb */ color: rgb(161, 89, 242);
/* oklch */ color: oklch(62.1% 0.221 302.0);
Tailwind
colors: {
  custom: {
    50: '#c28cf7',
    500: '#a159f2',
    950: '#000000',
  },
}
SCSS
$custom: #a159f2;
$custom-light: #c28cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#a159f2",
  "rgb": {
    "r": 161,
    "g": 89,
    "b": 242
  },
  "hsl": {
    "h": 268.235,
    "s": 85.475,
    "l": 64.902
  },
  "oklch": {
    "l": 0.62085,
    "c": 0.22069,
    "h": 302
  },
  "luminance": 0.21133
}

Semantic roles & 50–950 ramp

primary
#A159F2
secondary
#D5EDB9
accent
#E20479
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #A159F2

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

Preview Lab → · Contrast checker → · Palette generator →

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