#A052CA#A052CA

#A052CA is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.5% C 0.187 H 312.0°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#A052CA
RGBrgb(160, 82, 202)
HSLhsl(279, 53%, 56%)
HSVhsv(279, 59%, 79%)
CMYKcmyk(20.8%, 59.4%, 0%, 20.8%)
CIE-LABlab(49.22, 52.26, -49.50)
CIE-LCHlch(49.22, 71.98, 316.55°)
OKLaboklab(58.46% 0.1252 -0.139)
OKLCHoklch(58.46% 0.187 312)
XYZxyz(28.1733, 17.7731, 57.8121)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A052CA #7CCA52
analogous
#6452CA #A052CA #CA52B8
triadic
#A052CA #CAA052 #52CAA0
tetradic
#A052CA #CA6452 #7CCA52 #52B8CA
square
#A052CA #CA6452 #7CCA52 #52B8CA
split-complementary
#A052CA #B8CA52 #52CA64
monochromatic
#5E267C #8134AB #A052CA #BA81D8 #D3B0E7

Accessibility & contrast

On white

4.61
#A052CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#A052CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A052CA
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A052CA#FFFFFF#000000##FFFFFF
##A052CA1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2871CE
Deuteranopia (green-blind)
#4977C7
Tritanopia (blue-blind)
#9B6886
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a052ca;
/* rgb */ color: rgb(160, 82, 202);
/* oklch */ color: oklch(58.5% 0.187 312.0);
Tailwind
colors: {
  custom: {
    50: '#bf86db',
    500: '#a052ca',
    950: '#000000',
  },
}
SCSS
$custom: #a052ca;
$custom-light: #bf86db;
$custom-dark: #000000;
JSON
{
  "hex": "#a052ca",
  "rgb": {
    "r": 160,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 279,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58458,
    "c": 0.1871,
    "h": 312
  },
  "luminance": 0.17772
}

Semantic roles & 50–950 ramp

primary
#A052CA
secondary
#B4D5A3
accent
#DD4B7E
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A052CA

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

Preview Lab → · Contrast checker → · Palette generator →

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