#A452E9#A452E9

#A452E9 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.9% C 0.221 H 305.8°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#A452E9
RGBrgb(164, 82, 233)
HSLhsl(273, 77%, 62%)
HSVhsv(273, 65%, 91%)
CMYKcmyk(29.6%, 64.8%, 0%, 8.6%)
CIE-LABlab(51.62, 60.06, -63.25)
CIE-LCHlch(51.62, 87.22, 313.52°)
OKLaboklab(60.92% 0.1291 -0.1792)
OKLCHoklch(60.92% 0.221 305.8)
XYZxyz(33.0319, 19.8106, 79.1586)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A452E9 #97E952
analogous
#5952E9 #A452E9 #E952E2
triadic
#A452E9 #E9A452 #52E9A4
tetradic
#A452E9 #E95952 #97E952 #52E2E9
square
#A452E9 #E95952 #97E952 #52E2E9
split-complementary
#A452E9 #E2E952 #52E959
monochromatic
#6716AB #871DE1 #A452E9 #C188F0 #DDBFF7

Accessibility & contrast

On white

4.23
#A452E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#A452E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A452E9
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A452E9#FFFFFF#000000##000000
##A452E91.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EE
Deuteranopia (green-blind)
#2A7BE6
Tritanopia (blue-blind)
#987297
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a452e9;
/* rgb */ color: rgb(164, 82, 233);
/* oklch */ color: oklch(60.9% 0.221 305.8);
Tailwind
colors: {
  custom: {
    50: '#c488f1',
    500: '#a452e9',
    950: '#000000',
  },
}
SCSS
$custom: #a452e9;
$custom-light: #c488f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a452e9",
  "rgb": {
    "r": 164,
    "g": 82,
    "b": 233
  },
  "hsl": {
    "h": 272.583,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60915,
    "c": 0.22088,
    "h": 305.8
  },
  "luminance": 0.1981
}

Semantic roles & 50–950 ramp

primary
#A452E9
secondary
#C9E7AF
accent
#DA0C6A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A452E9

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

Preview Lab → · Contrast checker → · Palette generator →

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