#A552E2#A552E2

#A552E2 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.6% C 0.214 H 307.7°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#A552E2
RGBrgb(165, 82, 226)
HSLhsl(275, 71%, 60%)
HSVhsv(275, 64%, 89%)
CMYKcmyk(27%, 63.7%, 0%, 11.4%)
CIE-LABlab(51.30, 58.70, -59.82)
CIE-LCHlch(51.30, 83.81, 314.46°)
OKLaboklab(60.56% 0.1309 -0.1691)
OKLCHoklch(60.56% 0.214 307.7)
XYZxyz(32.2590, 19.5253, 74.0061)
Luminance0.1953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A552E2 #8FE252
analogous
#5D52E2 #A552E2 #E252D7
triadic
#A552E2 #E2A552 #52E2A5
tetradic
#A552E2 #E25D52 #8FE252 #52D7E2
square
#A552E2 #E25D52 #8FE252 #52D7E2
split-complementary
#A552E2 #D7E252 #52E25D
monochromatic
#671B9F #8923D3 #A552E2 #C086EB #DCBBF4

Accessibility & contrast

On white

4.28
#A552E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#A552E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A552E2
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A552E2#FFFFFF#000000##000000
##A552E21.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E6
Deuteranopia (green-blind)
#367BDF
Tritanopia (blue-blind)
#9B7093
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a552e2;
/* rgb */ color: rgb(165, 82, 226);
/* oklch */ color: oklch(60.6% 0.214 307.7);
Tailwind
colors: {
  custom: {
    50: '#c487ec',
    500: '#a552e2',
    950: '#000000',
  },
}
SCSS
$custom: #a552e2;
$custom-light: #c487ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a552e2",
  "rgb": {
    "r": 165,
    "g": 82,
    "b": 226
  },
  "hsl": {
    "h": 274.583,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60564,
    "c": 0.21385,
    "h": 307.7
  },
  "luminance": 0.19525
}

Semantic roles & 50–950 ramp

primary
#A552E2
secondary
#C4E3AC
accent
#D31264
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A552E2

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

Preview Lab → · Contrast checker → · Palette generator →

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