#A552E8#A552E8

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

Color values

HEX#A552E8
RGBrgb(165, 82, 232)
HSLhsl(273, 77%, 62%)
HSVhsv(273, 65%, 91%)
CMYKcmyk(28.9%, 64.7%, 0%, 9%)
CIE-LABlab(51.68, 60.04, -62.59)
CIE-LCHlch(51.68, 86.73, 313.81°)
OKLaboklab(60.96% 0.1304 -0.1773)
OKLCHoklch(60.96% 0.22 306.3)
XYZxyz(33.0967, 19.8604, 78.4182)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A552E8 #95E852
analogous
#5A52E8 #A552E8 #E852E0
triadic
#A552E8 #E8A552 #52E8A5
tetradic
#A552E8 #E85A52 #95E852 #52E0E8
square
#A552E8 #E85A52 #95E852 #52E0E8
split-complementary
#A552E8 #E0E852 #52E85A
monochromatic
#6816A9 #891EDF #A552E8 #C188EF #DDBEF6

Accessibility & contrast

On white

4.22
#A552E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#A552E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A552E8
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A552E8#FFFFFF#000000##000000
##A552E81.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a552e8;
/* rgb */ color: rgb(165, 82, 232);
/* oklch */ color: oklch(61.0% 0.220 306.3);
Tailwind
colors: {
  custom: {
    50: '#c488f0',
    500: '#a552e8',
    950: '#000000',
  },
}
SCSS
$custom: #a552e8;
$custom-light: #c488f0;
$custom-dark: #000000;
JSON
{
  "hex": "#a552e8",
  "rgb": {
    "r": 165,
    "g": 82,
    "b": 232
  },
  "hsl": {
    "h": 273.2,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60961,
    "c": 0.22008,
    "h": 306.3
  },
  "luminance": 0.1986
}

Semantic roles & 50–950 ramp

primary
#A552E8
secondary
#C8E7AF
accent
#D90D68
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A552E8

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

Preview Lab → · Contrast checker → · Palette generator →

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