#A052CC#A052CC

#A052CC is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.6% C 0.189 H 311.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#A052CC
RGBrgb(160, 82, 204)
HSLhsl(278, 54%, 56%)
HSVhsv(278, 60%, 80%)
CMYKcmyk(21.6%, 59.8%, 0%, 20%)
CIE-LABlab(49.34, 52.69, -50.47)
CIE-LCHlch(49.34, 72.96, 316.24°)
OKLaboklab(58.58% 0.1252 -0.1419)
OKLCHoklch(58.58% 0.189 311.4)
XYZxyz(28.4116, 17.8685, 59.0673)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A052CC #7ECC52
analogous
#6352CC #A052CC #CC52BB
triadic
#A052CC #CCA052 #52CCA0
tetradic
#A052CC #CC6352 #7ECC52 #52BBCC
square
#A052CC #CC6352 #7ECC52 #52BBCC
split-complementary
#A052CC #BBCC52 #52CC63
monochromatic
#5E257E #8133AE #A052CC #BA81DA #D4B1E8

Accessibility & contrast

On white

4.59
#A052CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#A052CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A052CC
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A052CC#FFFFFF#000000##FFFFFF
##A052CC1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2571D0
Deuteranopia (green-blind)
#4877C9
Tritanopia (blue-blind)
#9B6987
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a052cc;
/* rgb */ color: rgb(160, 82, 204);
/* oklch */ color: oklch(58.6% 0.189 311.4);
Tailwind
colors: {
  custom: {
    50: '#bf86dc',
    500: '#a052cc',
    950: '#000000',
  },
}
SCSS
$custom: #a052cc;
$custom-light: #bf86dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a052cc",
  "rgb": {
    "r": 160,
    "g": 82,
    "b": 204
  },
  "hsl": {
    "h": 278.361,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.5858,
    "c": 0.18921,
    "h": 311.4
  },
  "luminance": 0.17868
}

Semantic roles & 50–950 ramp

primary
#A052CC
secondary
#B6D6A4
accent
#DE4A7F
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A052CC

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

Preview Lab → · Contrast checker → · Palette generator →

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