#A552E7#A552E7

#A552E7 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.9% C 0.219 H 306.6°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#A552E7
RGBrgb(165, 82, 231)
HSLhsl(273, 76%, 61%)
HSVhsv(273, 65%, 91%)
CMYKcmyk(28.6%, 64.5%, 0%, 9.4%)
CIE-LABlab(51.61, 59.82, -62.13)
CIE-LCHlch(51.61, 86.24, 313.92°)
OKLaboklab(60.9% 0.1305 -0.1759)
OKLCHoklch(60.9% 0.219 306.6)
XYZxyz(32.9551, 19.8038, 77.6722)
Luminance0.1980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A552E7 #94E752
analogous
#5B52E7 #A552E7 #E752DF
triadic
#A552E7 #E7A552 #52E7A5
tetradic
#A552E7 #E75B52 #94E752 #52DFE7
square
#A552E7 #E75B52 #94E752 #52DFE7
split-complementary
#A552E7 #DFE752 #52E75B
monochromatic
#6817A7 #891FDD #A552E7 #C188EE #DDBDF6

Accessibility & contrast

On white

4.23
#A552E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#A552E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A552E7
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A552E7#FFFFFF#000000##000000
##A552E71.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EC
Deuteranopia (green-blind)
#2F7CE4
Tritanopia (blue-blind)
#9A7296
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a552e7;
/* rgb */ color: rgb(165, 82, 231);
/* oklch */ color: oklch(60.9% 0.219 306.6);
Tailwind
colors: {
  custom: {
    50: '#c488ef',
    500: '#a552e7',
    950: '#000000',
  },
}
SCSS
$custom: #a552e7;
$custom-light: #c488ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a552e7",
  "rgb": {
    "r": 165,
    "g": 82,
    "b": 231
  },
  "hsl": {
    "h": 273.423,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.60895,
    "c": 0.21905,
    "h": 306.6
  },
  "luminance": 0.19803
}

Semantic roles & 50–950 ramp

primary
#A552E7
secondary
#C7E6AF
accent
#D80E67
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A552E7

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

Preview Lab → · Contrast checker → · Palette generator →

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