#A052D4#A052D4

#A052D4 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 59.1% C 0.198 H 309.3°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#A052D4
RGBrgb(160, 82, 212)
HSLhsl(276, 60%, 58%)
HSVhsv(276, 61%, 83%)
CMYKcmyk(24.5%, 61.3%, 0%, 16.9%)
CIE-LABlab(49.81, 54.46, -54.28)
CIE-LCHlch(49.81, 76.89, 315.09°)
OKLaboklab(59.08% 0.1251 -0.153)
OKLCHoklch(59.08% 0.198 309.3)
XYZxyz(29.3958, 18.2621, 64.2510)
Luminance0.1826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A052D4 #86D452
analogous
#5F52D4 #A052D4 #D452C7
triadic
#A052D4 #D4A052 #52D4A0
tetradic
#A052D4 #D45F52 #86D452 #52C7D4
square
#A052D4 #D45F52 #86D452 #52C7D4
split-complementary
#A052D4 #C7D452 #52D45F
monochromatic
#602289 #822EBA #A052D4 #BB83E0 #D6B4EC

Accessibility & contrast

On white

4.51
#A052D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#A052D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A052D4
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A052D4#FFFFFF#000000##000000
##A052D41.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1573D8
Deuteranopia (green-blind)
#4078D1
Tritanopia (blue-blind)
#996B8B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a052d4;
/* rgb */ color: rgb(160, 82, 212);
/* oklch */ color: oklch(59.1% 0.198 309.3);
Tailwind
colors: {
  custom: {
    50: '#c087e2',
    500: '#a052d4',
    950: '#000000',
  },
}
SCSS
$custom: #a052d4;
$custom-light: #c087e2;
$custom-dark: #000000;
JSON
{
  "hex": "#a052d4",
  "rgb": {
    "r": 160,
    "g": 82,
    "b": 212
  },
  "hsl": {
    "h": 276,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59079,
    "c": 0.19768,
    "h": 309.3
  },
  "luminance": 0.18262
}

Semantic roles & 50–950 ramp

primary
#A052D4
secondary
#BCDBA7
accent
#E34484
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A052D4

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

Preview Lab → · Contrast checker → · Palette generator →

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