#A452E8#A452E8

#A452E8 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.8% C 0.220 H 306.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#A452E8
RGBrgb(164, 82, 232)
HSLhsl(273, 77%, 62%)
HSVhsv(273, 65%, 91%)
CMYKcmyk(29.3%, 64.7%, 0%, 9%)
CIE-LABlab(51.56, 59.83, -62.79)
CIE-LCHlch(51.56, 86.73, 313.62°)
OKLaboklab(60.85% 0.1291 -0.1779)
OKLCHoklch(60.85% 0.22 306)
XYZxyz(32.8895, 19.7536, 78.4084)
Luminance0.1975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A452E8 #96E852
analogous
#5952E8 #A452E8 #E852E1
triadic
#A452E8 #E8A452 #52E8A4
tetradic
#A452E8 #E85952 #96E852 #52E1E8
square
#A452E8 #E85952 #96E852 #52E1E8
split-complementary
#A452E8 #E1E852 #52E859
monochromatic
#6716A9 #871EDF #A452E8 #C088EF #DDBEF6

Accessibility & contrast

On white

4.24
#A452E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#A452E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A452E8
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A452E8#FFFFFF#000000##000000
##A452E81.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078ED
Deuteranopia (green-blind)
#2C7BE5
Tritanopia (blue-blind)
#987296
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a452e8;
/* rgb */ color: rgb(164, 82, 232);
/* oklch */ color: oklch(60.8% 0.220 306.0);
Tailwind
colors: {
  custom: {
    50: '#c488f0',
    500: '#a452e8',
    950: '#000000',
  },
}
SCSS
$custom: #a452e8;
$custom-light: #c488f0;
$custom-dark: #000000;
JSON
{
  "hex": "#a452e8",
  "rgb": {
    "r": 164,
    "g": 82,
    "b": 232
  },
  "hsl": {
    "h": 272.8,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60847,
    "c": 0.21983,
    "h": 306
  },
  "luminance": 0.19753
}

Semantic roles & 50–950 ramp

primary
#A452E8
secondary
#C8E7AF
accent
#D90D69
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A452E8

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

Preview Lab → · Contrast checker → · Palette generator →

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