#A552E4#A552E4

#A552E4 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.7% C 0.216 H 307.3°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#A552E4
RGBrgb(165, 82, 228)
HSLhsl(274, 73%, 61%)
HSVhsv(274, 64%, 89%)
CMYKcmyk(27.6%, 64%, 0%, 10.6%)
CIE-LABlab(51.42, 59.15, -60.74)
CIE-LCHlch(51.42, 84.78, 314.24°)
OKLaboklab(60.7% 0.1307 -0.1719)
OKLCHoklch(60.7% 0.216 307.3)
XYZxyz(32.5350, 19.6358, 75.4599)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A552E4 #91E452
analogous
#5C52E4 #A552E4 #E452DA
triadic
#A552E4 #E4A552 #52E4A5
tetradic
#A552E4 #E45C52 #91E452 #52DAE4
square
#A552E4 #E45C52 #91E452 #52DAE4
split-complementary
#A552E4 #DAE452 #52E45C
monochromatic
#6719A2 #8922D7 #A552E4 #C187EC #DCBCF5

Accessibility & contrast

On white

4.26
#A552E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#A552E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A552E4
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A552E4#FFFFFF#000000##000000
##A552E41.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E8
Deuteranopia (green-blind)
#347BE1
Tritanopia (blue-blind)
#9B7094
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a552e4;
/* rgb */ color: rgb(165, 82, 228);
/* oklch */ color: oklch(60.7% 0.216 307.3);
Tailwind
colors: {
  custom: {
    50: '#c487ed',
    500: '#a552e4',
    950: '#000000',
  },
}
SCSS
$custom: #a552e4;
$custom-light: #c487ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a552e4",
  "rgb": {
    "r": 165,
    "g": 82,
    "b": 228
  },
  "hsl": {
    "h": 274.11,
    "s": 73,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60695,
    "c": 0.21593,
    "h": 307.3
  },
  "luminance": 0.19635
}

Semantic roles & 50–950 ramp

primary
#A552E4
secondary
#C5E5AD
accent
#D51065
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A552E4

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

Preview Lab → · Contrast checker → · Palette generator →

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