#A052DA#A052DA

#A052DA is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.5% C 0.204 H 307.7°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#A052DA
RGBrgb(160, 82, 218)
HSLhsl(274, 65%, 59%)
HSVhsv(274, 62%, 85%)
CMYKcmyk(26.6%, 62.4%, 0%, 14.5%)
CIE-LABlab(50.18, 55.80, -57.11)
CIE-LCHlch(50.18, 79.84, 314.34°)
OKLaboklab(59.46% 0.1249 -0.1613)
OKLCHoklch(59.46% 0.204 307.7)
XYZxyz(30.1668, 18.5705, 68.3113)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A052DA #8CDA52
analogous
#5C52DA #A052DA #DA52D0
triadic
#A052DA #DAA052 #52DAA0
tetradic
#A052DA #DA5C52 #8CDA52 #52D0DA
square
#A052DA #DA5C52 #8CDA52 #52D0DA
split-complementary
#A052DA #D0DA52 #52DA5C
monochromatic
#611F92 #832AC5 #A052DA #BC84E5 #D7B7F0

Accessibility & contrast

On white

4.45
#A052DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#A052DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A052DA
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A052DA#FFFFFF#000000##000000
##A052DA1.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DE
Deuteranopia (green-blind)
#3A78D7
Tritanopia (blue-blind)
#976E8F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a052da;
/* rgb */ color: rgb(160, 82, 218);
/* oklch */ color: oklch(59.5% 0.204 307.7);
Tailwind
colors: {
  custom: {
    50: '#c087e6',
    500: '#a052da',
    950: '#000000',
  },
}
SCSS
$custom: #a052da;
$custom-light: #c087e6;
$custom-dark: #000000;
JSON
{
  "hex": "#a052da",
  "rgb": {
    "r": 160,
    "g": 82,
    "b": 218
  },
  "hsl": {
    "h": 274.412,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59464,
    "c": 0.20404,
    "h": 307.7
  },
  "luminance": 0.1857
}

Semantic roles & 50–950 ramp

primary
#A052DA
secondary
#C0DFA9
accent
#E84088
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A052DA

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

Preview Lab → · Contrast checker → · Palette generator →

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