#A452E7#A452E7

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

Color values

HEX#A452E7
RGBrgb(164, 82, 231)
HSLhsl(273, 76%, 61%)
HSVhsv(273, 65%, 91%)
CMYKcmyk(29%, 64.5%, 0%, 9.4%)
CIE-LABlab(51.49, 59.61, -62.33)
CIE-LCHlch(51.49, 86.24, 313.72°)
OKLaboklab(60.78% 0.1292 -0.1765)
OKLCHoklch(60.78% 0.219 306.2)
XYZxyz(32.7478, 19.6969, 77.6625)
Luminance0.1970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A452E7 #95E752
analogous
#5A52E7 #A452E7 #E752E0
triadic
#A452E7 #E7A452 #52E7A4
tetradic
#A452E7 #E75A52 #95E752 #52E0E7
square
#A452E7 #E75A52 #95E752 #52E0E7
split-complementary
#A452E7 #E0E752 #52E75A
monochromatic
#6717A7 #871FDD #A452E7 #C088EE #DDBDF6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A452E7#FFFFFF#000000##000000
##A452E71.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)
#0078EC
Deuteranopia (green-blind)
#2E7BE4
Tritanopia (blue-blind)
#997296
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a452e7;
/* rgb */ color: rgb(164, 82, 231);
/* oklch */ color: oklch(60.8% 0.219 306.2);
Tailwind
colors: {
  custom: {
    50: '#c387ef',
    500: '#a452e7',
    950: '#000000',
  },
}
SCSS
$custom: #a452e7;
$custom-light: #c387ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a452e7",
  "rgb": {
    "r": 164,
    "g": 82,
    "b": 231
  },
  "hsl": {
    "h": 273.02,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.6078,
    "c": 0.21878,
    "h": 306.2
  },
  "luminance": 0.19697
}

Semantic roles & 50–950 ramp

primary
#A452E7
secondary
#C8E6AF
accent
#D80E69
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A452E7

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

Preview Lab → · Contrast checker → · Palette generator →

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