#A552E1#A552E1

#A552E1 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.5% C 0.213 H 308.0°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#A552E1
RGBrgb(165, 82, 225)
HSLhsl(275, 70%, 60%)
HSVhsv(275, 64%, 88%)
CMYKcmyk(26.7%, 63.6%, 0%, 11.8%)
CIE-LABlab(51.23, 58.48, -59.35)
CIE-LCHlch(51.23, 83.32, 314.57°)
OKLaboklab(60.5% 0.1309 -0.1678)
OKLCHoklch(60.5% 0.213 308)
XYZxyz(32.1222, 19.4706, 73.2856)
Luminance0.1947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A552E1 #8EE152
analogous
#5D52E1 #A552E1 #E152D6
triadic
#A552E1 #E1A552 #52E1A5
tetradic
#A552E1 #E15D52 #8EE152 #52D6E1
square
#A552E1 #E15D52 #8EE152 #52D6E1
split-complementary
#A552E1 #D6E152 #52E15D
monochromatic
#671B9D #8924D1 #A552E1 #C086EA #DBBAF3

Accessibility & contrast

On white

4.29
#A552E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#A552E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A552E1
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A552E1#FFFFFF#000000##000000
##A552E11.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E5
Deuteranopia (green-blind)
#387BDE
Tritanopia (blue-blind)
#9C6F92
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a552e1;
/* rgb */ color: rgb(165, 82, 225);
/* oklch */ color: oklch(60.5% 0.213 308.0);
Tailwind
colors: {
  custom: {
    50: '#c487eb',
    500: '#a552e1',
    950: '#000000',
  },
}
SCSS
$custom: #a552e1;
$custom-light: #c487eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a552e1",
  "rgb": {
    "r": 165,
    "g": 82,
    "b": 225
  },
  "hsl": {
    "h": 274.825,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60498,
    "c": 0.21281,
    "h": 308
  },
  "luminance": 0.1947
}

Semantic roles & 50–950 ramp

primary
#A552E1
secondary
#C3E3AC
accent
#D21363
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A552E1

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

Preview Lab → · Contrast checker → · Palette generator →

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