#A451EA#A451EA

#A451EA is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.9% C 0.223 H 305.6°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#A451EA
RGBrgb(164, 81, 234)
HSLhsl(273, 78%, 62%)
HSVhsv(273, 65%, 92%)
CMYKcmyk(29.9%, 65.4%, 0%, 8.2%)
CIE-LABlab(51.52, 60.76, -63.98)
CIE-LCHlch(51.52, 88.23, 313.52°)
OKLaboklab(60.86% 0.1301 -0.1814)
OKLCHoklch(60.86% 0.223 305.6)
XYZxyz(33.1003, 19.7181, 79.8882)
Luminance0.1972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A451EA #97EA51
analogous
#5851EA #A451EA #EA51E4
triadic
#A451EA #EAA451 #51EAA4
tetradic
#A451EA #EA5851 #97EA51 #51E4EA
square
#A451EA #EA5851 #97EA51 #51E4EA
split-complementary
#A451EA #E4EA51 #51EA58
monochromatic
#6715AC #871BE2 #A451EA #C188F1 #DDBEF7

Accessibility & contrast

On white

4.25
#A451EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#A451EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A451EA
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A451EA#FFFFFF#000000##000000
##A451EA1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EF
Deuteranopia (green-blind)
#267BE7
Tritanopia (blue-blind)
#987297
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a451ea;
/* rgb */ color: rgb(164, 81, 234);
/* oklch */ color: oklch(60.9% 0.223 305.6);
Tailwind
colors: {
  custom: {
    50: '#c487f2',
    500: '#a451ea',
    950: '#000000',
  },
}
SCSS
$custom: #a451ea;
$custom-light: #c487f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a451ea",
  "rgb": {
    "r": 164,
    "g": 81,
    "b": 234
  },
  "hsl": {
    "h": 272.549,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.6086,
    "c": 0.2232,
    "h": 305.6
  },
  "luminance": 0.19718
}

Semantic roles & 50–950 ramp

primary
#A451EA
secondary
#C9E8AF
accent
#DB0B6A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A451EA

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

Preview Lab → · Contrast checker → · Palette generator →

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