#A452E6#A452E6

#A452E6 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.7% C 0.218 H 306.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#A452E6
RGBrgb(164, 82, 230)
HSLhsl(273, 75%, 61%)
HSVhsv(273, 64%, 90%)
CMYKcmyk(28.7%, 64.3%, 0%, 9.8%)
CIE-LABlab(51.43, 59.38, -61.87)
CIE-LCHlch(51.43, 85.75, 313.82°)
OKLaboklab(60.71% 0.1293 -0.1752)
OKLCHoklch(60.71% 0.218 306.4)
XYZxyz(32.6070, 19.6406, 76.9208)
Luminance0.1964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A452E6 #94E652
analogous
#5A52E6 #A452E6 #E652DE
triadic
#A452E6 #E6A452 #52E6A4
tetradic
#A452E6 #E65A52 #94E652 #52DEE6
square
#A452E6 #E65A52 #94E652 #52DEE6
split-complementary
#A452E6 #DEE652 #52E65A
monochromatic
#6618A6 #8820DB #A452E6 #C087EE #DCBDF5

Accessibility & contrast

On white

4.26
#A452E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#A452E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A452E6
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A452E6#FFFFFF#000000##000000
##A452E61.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EB
Deuteranopia (green-blind)
#2F7BE3
Tritanopia (blue-blind)
#997195
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a452e6;
/* rgb */ color: rgb(164, 82, 230);
/* oklch */ color: oklch(60.7% 0.218 306.4);
Tailwind
colors: {
  custom: {
    50: '#c387ef',
    500: '#a452e6',
    950: '#000000',
  },
}
SCSS
$custom: #a452e6;
$custom-light: #c387ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a452e6",
  "rgb": {
    "r": 164,
    "g": 82,
    "b": 230
  },
  "hsl": {
    "h": 273.243,
    "s": 74.747,
    "l": 61.176
  },
  "oklch": {
    "l": 0.60713,
    "c": 0.21774,
    "h": 306.4
  },
  "luminance": 0.1964
}

Semantic roles & 50–950 ramp

primary
#A452E6
secondary
#C7E6AE
accent
#D70F68
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A452E6

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

Preview Lab → · Contrast checker → · Palette generator →

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