#A552E9#A552E9

#A552E9 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 61.0% C 0.221 H 306.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#A552E9
RGBrgb(165, 82, 233)
HSLhsl(273, 77%, 62%)
HSVhsv(273, 65%, 91%)
CMYKcmyk(29.2%, 64.8%, 0%, 8.6%)
CIE-LABlab(51.74, 60.27, -63.04)
CIE-LCHlch(51.74, 87.22, 313.71°)
OKLaboklab(61.03% 0.1304 -0.1786)
OKLCHoklch(61.03% 0.221 306.1)
XYZxyz(33.2392, 19.9174, 79.1684)
Luminance0.1992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A552E9 #96E952
analogous
#5A52E9 #A552E9 #E952E2
triadic
#A552E9 #E9A552 #52E9A5
tetradic
#A552E9 #E95A52 #96E952 #52E2E9
square
#A552E9 #E95A52 #96E952 #52E2E9
split-complementary
#A552E9 #E2E952 #52E95A
monochromatic
#6816AB #891DE1 #A552E9 #C188F0 #DDBFF7

Accessibility & contrast

On white

4.21
#A552E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#A552E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A552E9
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A552E9#FFFFFF#000000##000000
##A552E91.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EE
Deuteranopia (green-blind)
#2C7CE6
Tritanopia (blue-blind)
#997297
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a552e9;
/* rgb */ color: rgb(165, 82, 233);
/* oklch */ color: oklch(61.0% 0.221 306.1);
Tailwind
colors: {
  custom: {
    50: '#c488f1',
    500: '#a552e9',
    950: '#000000',
  },
}
SCSS
$custom: #a552e9;
$custom-light: #c488f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a552e9",
  "rgb": {
    "r": 165,
    "g": 82,
    "b": 233
  },
  "hsl": {
    "h": 272.98,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.61029,
    "c": 0.22112,
    "h": 306.1
  },
  "luminance": 0.19917
}

Semantic roles & 50–950 ramp

primary
#A552E9
secondary
#C9E7AF
accent
#DA0C69
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A552E9

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

Preview Lab → · Contrast checker → · Palette generator →

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