#A051E1#A051E1

#A051E1 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.8% C 0.213 H 306.2°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#A051E1
RGBrgb(160, 81, 225)
HSLhsl(273, 71%, 60%)
HSVhsv(273, 64%, 88%)
CMYKcmyk(28.9%, 64%, 0%, 11.8%)
CIE-LABlab(50.45, 57.87, -60.65)
CIE-LCHlch(50.45, 83.83, 313.65°)
OKLaboklab(59.8% 0.1257 -0.1717)
OKLCHoklch(59.8% 0.213 306.2)
XYZxyz(31.0273, 18.7950, 73.2128)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A051E1 #92E151
analogous
#5851E1 #A051E1 #E151DA
triadic
#A051E1 #E1A051 #51E1A0
tetradic
#A051E1 #E15851 #92E151 #51DAE1
square
#A051E1 #E15851 #92E151 #51DAE1
split-complementary
#A051E1 #DAE151 #51E158
monochromatic
#621B9D #8324D1 #A051E1 #BD85EA #D9B9F3

Accessibility & contrast

On white

4.41
#A051E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#A051E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A051E1
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A051E1#FFFFFF#000000##000000
##A051E11.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E5
Deuteranopia (green-blind)
#2F78DE
Tritanopia (blue-blind)
#956F92
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a051e1;
/* rgb */ color: rgb(160, 81, 225);
/* oklch */ color: oklch(59.8% 0.213 306.2);
Tailwind
colors: {
  custom: {
    50: '#c086eb',
    500: '#a051e1',
    950: '#000000',
  },
}
SCSS
$custom: #a051e1;
$custom-light: #c086eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a051e1",
  "rgb": {
    "r": 160,
    "g": 81,
    "b": 225
  },
  "hsl": {
    "h": 272.917,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.59797,
    "c": 0.2128,
    "h": 306.2
  },
  "luminance": 0.18795
}

Semantic roles & 50–950 ramp

primary
#A051E1
secondary
#C4E3AB
accent
#ED3A8B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A051E1

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

Preview Lab → · Contrast checker → · Palette generator →

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