#A052D1#A052D1

#A052D1 is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.9% C 0.195 H 310.1°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#A052D1
RGBrgb(160, 82, 209)
HSLhsl(277, 58%, 57%)
HSVhsv(277, 61%, 82%)
CMYKcmyk(23.4%, 60.8%, 0%, 18%)
CIE-LABlab(49.63, 53.79, -52.86)
CIE-LCHlch(49.63, 75.42, 315.50°)
OKLaboklab(58.89% 0.1252 -0.1489)
OKLCHoklch(58.89% 0.195 310.1)
XYZxyz(29.0209, 18.1122, 62.2764)
Luminance0.1811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A052D1 #83D152
analogous
#6052D1 #A052D1 #D152C3
triadic
#A052D1 #D1A052 #52D1A0
tetradic
#A052D1 #D16052 #83D152 #52C3D1
square
#A052D1 #D16052 #83D152 #52C3D1
split-complementary
#A052D1 #C3D152 #52D160
monochromatic
#5F2385 #8230B6 #A052D1 #BB82DE #D5B3EB

Accessibility & contrast

On white

4.54
#A052D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#A052D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A052D1
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A052D1#FFFFFF#000000##000000
##A052D11.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C73D5
Deuteranopia (green-blind)
#4377CE
Tritanopia (blue-blind)
#9A6A8A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a052d1;
/* rgb */ color: rgb(160, 82, 209);
/* oklch */ color: oklch(58.9% 0.195 310.1);
Tailwind
colors: {
  custom: {
    50: '#bf87e0',
    500: '#a052d1',
    950: '#000000',
  },
}
SCSS
$custom: #a052d1;
$custom-light: #bf87e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a052d1",
  "rgb": {
    "r": 160,
    "g": 82,
    "b": 209
  },
  "hsl": {
    "h": 276.85,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5889,
    "c": 0.19451,
    "h": 310.1
  },
  "luminance": 0.18112
}

Semantic roles & 50–950 ramp

primary
#A052D1
secondary
#BAD9A6
accent
#E14782
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A052D1

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

Preview Lab → · Contrast checker → · Palette generator →

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