#A452EA#A452EA

#A452EA is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 61.0% C 0.222 H 305.5°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#A452EA
RGBrgb(164, 82, 234)
HSLhsl(272, 78%, 62%)
HSVhsv(272, 65%, 92%)
CMYKcmyk(29.9%, 65%, 0%, 8.2%)
CIE-LABlab(51.69, 60.29, -63.70)
CIE-LCHlch(51.69, 87.71, 313.42°)
OKLaboklab(60.98% 0.129 -0.1806)
OKLCHoklch(60.98% 0.222 305.5)
XYZxyz(33.1752, 19.8679, 79.9131)
Luminance0.1987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A452EA #98EA52
analogous
#5852EA #A452EA #EA52E4
triadic
#A452EA #EAA452 #52EAA4
tetradic
#A452EA #EA5852 #98EA52 #52E4EA
square
#A452EA #EA5852 #98EA52 #52E4EA
split-complementary
#A452EA #E4EA52 #52EA58
monochromatic
#6715AD #871CE3 #A452EA #C189F1 #DDBFF7

Accessibility & contrast

On white

4.22
#A452EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#A452EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A452EA
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A452EA#FFFFFF#000000##000000
##A452EA1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EF
Deuteranopia (green-blind)
#287BE7
Tritanopia (blue-blind)
#987397
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a452ea;
/* rgb */ color: rgb(164, 82, 234);
/* oklch */ color: oklch(61.0% 0.222 305.5);
Tailwind
colors: {
  custom: {
    50: '#c488f2',
    500: '#a452ea',
    950: '#000000',
  },
}
SCSS
$custom: #a452ea;
$custom-light: #c488f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a452ea",
  "rgb": {
    "r": 164,
    "g": 82,
    "b": 234
  },
  "hsl": {
    "h": 272.368,
    "s": 78.351,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60982,
    "c": 0.22192,
    "h": 305.5
  },
  "luminance": 0.19868
}

Semantic roles & 50–950 ramp

primary
#A452EA
secondary
#CAE8B0
accent
#DB0B6B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A452EA

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

Preview Lab → · Contrast checker → · Palette generator →

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