#A552D4#A552D4

#A552D4 is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.7% C 0.199 H 311.2°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#A552D4
RGBrgb(165, 82, 212)
HSLhsl(278, 60%, 58%)
HSVhsv(278, 61%, 83%)
CMYKcmyk(22.2%, 61.3%, 0%, 16.9%)
CIE-LABlab(50.44, 55.63, -53.25)
CIE-LCHlch(50.44, 77.00, 316.25°)
OKLaboklab(59.67% 0.1314 -0.1499)
OKLCHoklch(59.67% 0.199 311.2)
XYZxyz(30.4158, 18.7881, 64.2988)
Luminance0.1879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A552D4 #81D452
analogous
#6452D4 #A552D4 #D452C2
triadic
#A552D4 #D4A552 #52D4A5
tetradic
#A552D4 #D46452 #81D452 #52C2D4
square
#A552D4 #D46452 #81D452 #52C2D4
split-complementary
#A552D4 #C2D452 #52D464
monochromatic
#642289 #882EBA #A552D4 #BF83E0 #D8B4EC

Accessibility & contrast

On white

4.41
#A552D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#A552D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A552D4
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A552D4#FFFFFF#000000##000000
##A552D41.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B74D8
Deuteranopia (green-blind)
#467AD1
Tritanopia (blue-blind)
#9F6B8B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a552d4;
/* rgb */ color: rgb(165, 82, 212);
/* oklch */ color: oklch(59.7% 0.199 311.2);
Tailwind
colors: {
  custom: {
    50: '#c387e2',
    500: '#a552d4',
    950: '#000000',
  },
}
SCSS
$custom: #a552d4;
$custom-light: #c387e2;
$custom-dark: #000000;
JSON
{
  "hex": "#a552d4",
  "rgb": {
    "r": 165,
    "g": 82,
    "b": 212
  },
  "hsl": {
    "h": 278.308,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59668,
    "c": 0.19932,
    "h": 311.2
  },
  "luminance": 0.18787
}

Semantic roles & 50–950 ramp

primary
#A552D4
secondary
#BADBA7
accent
#E3447E
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A552D4

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

Preview Lab → · Contrast checker → · Palette generator →

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