#A452E1#A452E1

#A452E1 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.4% C 0.213 H 307.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#A452E1
RGBrgb(164, 82, 225)
HSLhsl(274, 70%, 60%)
HSVhsv(274, 64%, 88%)
CMYKcmyk(27.1%, 63.6%, 0%, 11.8%)
CIE-LABlab(51.11, 58.26, -59.56)
CIE-LCHlch(51.11, 83.31, 314.37°)
OKLaboklab(60.38% 0.1296 -0.1684)
OKLCHoklch(60.38% 0.213 307.6)
XYZxyz(31.9149, 19.3638, 73.2759)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A452E1 #8FE152
analogous
#5D52E1 #A452E1 #E152D6
triadic
#A452E1 #E1A452 #52E1A4
tetradic
#A452E1 #E15D52 #8FE152 #52D6E1
square
#A452E1 #E15D52 #8FE152 #52D6E1
split-complementary
#A452E1 #D6E152 #52E15D
monochromatic
#661B9D #8824D1 #A452E1 #BF86EA #DBBAF3

Accessibility & contrast

On white

4.31
#A452E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#A452E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A452E1
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A452E1#FFFFFF#000000##000000
##A452E11.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E5
Deuteranopia (green-blind)
#367BDE
Tritanopia (blue-blind)
#9A7092
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a452e1;
/* rgb */ color: rgb(164, 82, 225);
/* oklch */ color: oklch(60.4% 0.213 307.6);
Tailwind
colors: {
  custom: {
    50: '#c387eb',
    500: '#a452e1',
    950: '#000000',
  },
}
SCSS
$custom: #a452e1;
$custom-light: #c387eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a452e1",
  "rgb": {
    "r": 164,
    "g": 82,
    "b": 225
  },
  "hsl": {
    "h": 274.406,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60382,
    "c": 0.21253,
    "h": 307.6
  },
  "luminance": 0.19363
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A452E1

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

Preview Lab → · Contrast checker → · Palette generator →

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