#A451E2#A451E2

#A451E2 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.3% C 0.215 H 307.5°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#A451E2
RGBrgb(164, 81, 226)
HSLhsl(274, 71%, 60%)
HSVhsv(274, 64%, 89%)
CMYKcmyk(27.4%, 64.2%, 0%, 11.4%)
CIE-LABlab(51.00, 58.96, -60.30)
CIE-LCHlch(51.00, 84.33, 314.35°)
OKLaboklab(60.32% 0.1307 -0.1706)
OKLCHoklch(60.32% 0.215 307.5)
XYZxyz(31.9769, 19.2688, 73.9714)
Luminance0.1927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A451E2 #8FE251
analogous
#5B51E2 #A451E2 #E251D7
triadic
#A451E2 #E2A451 #51E2A4
tetradic
#A451E2 #E25B51 #8FE251 #51D7E2
square
#A451E2 #E25B51 #8FE251 #51D7E2
split-complementary
#A451E2 #D7E251 #51E25B
monochromatic
#661A9E #8823D3 #A451E2 #BF85EB #DBBAF3

Accessibility & contrast

On white

4.33
#A451E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#A451E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A451E2
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A451E2#FFFFFF#000000##000000
##A451E21.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E6
Deuteranopia (green-blind)
#347ADF
Tritanopia (blue-blind)
#9A6F93
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a451e2;
/* rgb */ color: rgb(164, 81, 226);
/* oklch */ color: oklch(60.3% 0.215 307.5);
Tailwind
colors: {
  custom: {
    50: '#c387ec',
    500: '#a451e2',
    950: '#000000',
  },
}
SCSS
$custom: #a451e2;
$custom-light: #c387ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a451e2",
  "rgb": {
    "r": 164,
    "g": 81,
    "b": 226
  },
  "hsl": {
    "h": 274.345,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60323,
    "c": 0.2149,
    "h": 307.5
  },
  "luminance": 0.19268
}

Semantic roles & 50–950 ramp

primary
#A451E2
secondary
#C3E3AC
accent
#D31265
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A451E2

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

Preview Lab → · Contrast checker → · Palette generator →

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