#A051E4#A051E4

#A051E4 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 60.0% C 0.216 H 305.5°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#A051E4
RGBrgb(160, 81, 228)
HSLhsl(272, 73%, 61%)
HSVhsv(272, 64%, 89%)
CMYKcmyk(29.8%, 64.5%, 0%, 10.6%)
CIE-LABlab(50.64, 58.55, -62.04)
CIE-LCHlch(50.64, 85.30, 313.35°)
OKLaboklab(60% 0.1254 -0.1758)
OKLCHoklch(60% 0.216 305.5)
XYZxyz(31.4402, 18.9601, 75.3871)
Luminance0.1896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A051E4 #95E451
analogous
#5651E4 #A051E4 #E451DE
triadic
#A051E4 #E4A051 #51E4A0
tetradic
#A051E4 #E45651 #95E451 #51DEE4
square
#A051E4 #E45651 #95E451 #51DEE4
split-complementary
#A051E4 #DEE451 #51E456
monochromatic
#6219A2 #8321D7 #A051E4 #BD86EC #DABBF4

Accessibility & contrast

On white

4.38
#A051E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#A051E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A051E4
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A051E4#FFFFFF#000000##000000
##A051E41.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E8
Deuteranopia (green-blind)
#2A79E1
Tritanopia (blue-blind)
#947094
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a051e4;
/* rgb */ color: rgb(160, 81, 228);
/* oklch */ color: oklch(60.0% 0.216 305.5);
Tailwind
colors: {
  custom: {
    50: '#c187ed',
    500: '#a051e4',
    950: '#000000',
  },
}
SCSS
$custom: #a051e4;
$custom-light: #c187ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a051e4",
  "rgb": {
    "r": 160,
    "g": 81,
    "b": 228
  },
  "hsl": {
    "h": 272.245,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59999,
    "c": 0.21597,
    "h": 305.5
  },
  "luminance": 0.1896
}

Semantic roles & 50–950 ramp

primary
#A051E4
secondary
#C6E4AC
accent
#D5106B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A051E4

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

Preview Lab → · Contrast checker → · Palette generator →

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