#A052CE#A052CE

#A052CE is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.7% C 0.191 H 310.9°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#A052CE
RGBrgb(160, 82, 206)
HSLhsl(278, 56%, 56%)
HSVhsv(278, 60%, 81%)
CMYKcmyk(22.3%, 60.2%, 0%, 19.2%)
CIE-LABlab(49.45, 53.13, -51.43)
CIE-LCHlch(49.45, 73.94, 315.93°)
OKLaboklab(58.7% 0.1252 -0.1447)
OKLCHoklch(58.7% 0.191 310.9)
XYZxyz(28.6530, 17.9650, 60.3387)
Luminance0.1796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A052CE #80CE52
analogous
#6252CE #A052CE #CE52BE
triadic
#A052CE #CEA052 #52CEA0
tetradic
#A052CE #CE6252 #80CE52 #52BECE
square
#A052CE #CE6252 #80CE52 #52BECE
split-complementary
#A052CE #BECE52 #52CE62
monochromatic
#5F2581 #8232B1 #A052CE #BA82DC #D4B1E9

Accessibility & contrast

On white

4.57
#A052CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#A052CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A052CE
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A052CE#FFFFFF#000000##000000
##A052CE1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2272D2
Deuteranopia (green-blind)
#4677CB
Tritanopia (blue-blind)
#9A6988
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a052ce;
/* rgb */ color: rgb(160, 82, 206);
/* oklch */ color: oklch(58.7% 0.191 310.9);
Tailwind
colors: {
  custom: {
    50: '#bf87dd',
    500: '#a052ce',
    950: '#000000',
  },
}
SCSS
$custom: #a052ce;
$custom-light: #bf87dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a052ce",
  "rgb": {
    "r": 160,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 277.742,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58703,
    "c": 0.19132,
    "h": 310.9
  },
  "luminance": 0.17964
}

Semantic roles & 50–950 ramp

primary
#A052CE
secondary
#B7D7A4
accent
#DF4980
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A052CE

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

Preview Lab → · Contrast checker → · Palette generator →

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