#A052D6#A052D6

#A052D6 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 59.2% C 0.200 H 308.7°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#A052D6
RGBrgb(160, 82, 214)
HSLhsl(275, 62%, 58%)
HSVhsv(275, 62%, 84%)
CMYKcmyk(25.2%, 61.7%, 0%, 16.1%)
CIE-LABlab(49.93, 54.90, -55.23)
CIE-LCHlch(49.93, 77.87, 314.83°)
OKLaboklab(59.21% 0.1251 -0.1558)
OKLCHoklch(59.21% 0.2 308.7)
XYZxyz(29.6497, 18.3637, 65.5879)
Luminance0.1836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A052D6 #88D652
analogous
#5E52D6 #A052D6 #D652CA
triadic
#A052D6 #D6A052 #52D6A0
tetradic
#A052D6 #D65E52 #88D652 #52CAD6
square
#A052D6 #D65E52 #88D652 #52CAD6
split-complementary
#A052D6 #CAD652 #52D65E
monochromatic
#61218C #832DBE #A052D6 #BB83E2 #D6B5ED

Accessibility & contrast

On white

4.49
#A052D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#A052D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A052D6
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A052D6#FFFFFF#000000##000000
##A052D61.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F74DA
Deuteranopia (green-blind)
#3E78D3
Tritanopia (blue-blind)
#986C8D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a052d6;
/* rgb */ color: rgb(160, 82, 214);
/* oklch */ color: oklch(59.2% 0.200 308.7);
Tailwind
colors: {
  custom: {
    50: '#c087e3',
    500: '#a052d6',
    950: '#000000',
  },
}
SCSS
$custom: #a052d6;
$custom-light: #c087e3;
$custom-dark: #000000;
JSON
{
  "hex": "#a052d6",
  "rgb": {
    "r": 160,
    "g": 82,
    "b": 214
  },
  "hsl": {
    "h": 275.455,
    "s": 61.682,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59207,
    "c": 0.1998,
    "h": 308.7
  },
  "luminance": 0.18363
}

Semantic roles & 50–950 ramp

primary
#A052D6
secondary
#BDDCA8
accent
#E54385
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C15
muted
#827D84

Preview Lab

Preview with #A052D6

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

Preview Lab → · Contrast checker → · Palette generator →

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