#A452E2#A452E2

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

Color values

HEX#A452E2
RGBrgb(164, 82, 226)
HSLhsl(274, 71%, 60%)
HSVhsv(274, 64%, 89%)
CMYKcmyk(27.4%, 63.7%, 0%, 11.4%)
CIE-LABlab(51.17, 58.48, -60.02)
CIE-LCHlch(51.17, 83.80, 314.26°)
OKLaboklab(60.45% 0.1296 -0.1698)
OKLCHoklch(60.45% 0.214 307.4)
XYZxyz(32.0517, 19.4185, 73.9964)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A452E2 #90E252
analogous
#5C52E2 #A452E2 #E252D8
triadic
#A452E2 #E2A452 #52E2A4
tetradic
#A452E2 #E25C52 #90E252 #52D8E2
square
#A452E2 #E25C52 #90E252 #52D8E2
split-complementary
#A452E2 #D8E252 #52E25C
monochromatic
#661B9F #8823D3 #A452E2 #C086EB #DBBBF4

Accessibility & contrast

On white

4.30
#A452E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#A452E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A452E2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A452E2#FFFFFF#000000##000000
##A452E21.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E6
Deuteranopia (green-blind)
#357BDF
Tritanopia (blue-blind)
#9A7093
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a452e2;
/* rgb */ color: rgb(164, 82, 226);
/* oklch */ color: oklch(60.4% 0.214 307.4);
Tailwind
colors: {
  custom: {
    50: '#c387ec',
    500: '#a452e2',
    950: '#000000',
  },
}
SCSS
$custom: #a452e2;
$custom-light: #c387ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a452e2",
  "rgb": {
    "r": 164,
    "g": 82,
    "b": 226
  },
  "hsl": {
    "h": 274.167,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60448,
    "c": 0.21358,
    "h": 307.4
  },
  "luminance": 0.19418
}

Semantic roles & 50–950 ramp

primary
#A452E2
secondary
#C4E3AC
accent
#D31265
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A452E2

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

Preview Lab → · Contrast checker → · Palette generator →

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