#A552D1#A552D1

#A552D1 is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.5% C 0.196 H 312.1°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#A552D1
RGBrgb(165, 82, 209)
HSLhsl(279, 58%, 57%)
HSVhsv(279, 61%, 82%)
CMYKcmyk(21.1%, 60.8%, 0%, 18%)
CIE-LABlab(50.26, 54.98, -51.82)
CIE-LCHlch(50.26, 75.55, 316.70°)
OKLaboklab(59.48% 0.1314 -0.1457)
OKLCHoklch(59.48% 0.196 312.1)
XYZxyz(30.0409, 18.6381, 62.3243)
Luminance0.1864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A552D1 #7ED152
analogous
#6652D1 #A552D1 #D152BD
triadic
#A552D1 #D1A552 #52D1A5
tetradic
#A552D1 #D16652 #7ED152 #52BDD1
square
#A552D1 #D16652 #7ED152 #52BDD1
split-complementary
#A552D1 #BDD152 #52D166
monochromatic
#632385 #8730B6 #A552D1 #BE82DE #D7B3EB

Accessibility & contrast

On white

4.44
#A552D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#A552D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A552D1
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A552D1#FFFFFF#000000##000000
##A552D11.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2173D5
Deuteranopia (green-blind)
#4879CE
Tritanopia (blue-blind)
#A06A8A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a552d1;
/* rgb */ color: rgb(165, 82, 209);
/* oklch */ color: oklch(59.5% 0.196 312.1);
Tailwind
colors: {
  custom: {
    50: '#c387e0',
    500: '#a552d1',
    950: '#000000',
  },
}
SCSS
$custom: #a552d1;
$custom-light: #c387e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a552d1",
  "rgb": {
    "r": 165,
    "g": 82,
    "b": 209
  },
  "hsl": {
    "h": 279.213,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59483,
    "c": 0.1962,
    "h": 312.1
  },
  "luminance": 0.18637
}

Semantic roles & 50–950 ramp

primary
#A552D1
secondary
#B7D9A6
accent
#E1477C
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A552D1

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

Preview Lab → · Contrast checker → · Palette generator →

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