#A052CB#A052CB

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

Color values

HEX#A052CB
RGBrgb(160, 82, 203)
HSLhsl(279, 54%, 56%)
HSVhsv(279, 60%, 80%)
CMYKcmyk(21.2%, 59.6%, 0%, 20.4%)
CIE-LABlab(49.28, 52.48, -49.98)
CIE-LCHlch(49.28, 72.47, 316.39°)
OKLaboklab(58.52% 0.1252 -0.1405)
OKLCHoklch(58.52% 0.188 311.7)
XYZxyz(28.2920, 17.8206, 58.4377)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A052CB #7DCB52
analogous
#6352CB #A052CB #CB52B9
triadic
#A052CB #CBA052 #52CBA0
tetradic
#A052CB #CB6352 #7DCB52 #52B9CB
square
#A052CB #CB6352 #7DCB52 #52B9CB
split-complementary
#A052CB #B9CB52 #52CB63
monochromatic
#5E267D #8134AC #A052CB #BA81D9 #D4B0E7

Accessibility & contrast

On white

4.60
#A052CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#A052CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A052CB
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A052CB#FFFFFF#000000##FFFFFF
##A052CB1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2771CF
Deuteranopia (green-blind)
#4877C8
Tritanopia (blue-blind)
#9B6887
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a052cb;
/* rgb */ color: rgb(160, 82, 203);
/* oklch */ color: oklch(58.5% 0.188 311.7);
Tailwind
colors: {
  custom: {
    50: '#bf86db',
    500: '#a052cb',
    950: '#000000',
  },
}
SCSS
$custom: #a052cb;
$custom-light: #bf86db;
$custom-dark: #000000;
JSON
{
  "hex": "#a052cb",
  "rgb": {
    "r": 160,
    "g": 82,
    "b": 203
  },
  "hsl": {
    "h": 278.678,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.58519,
    "c": 0.18815,
    "h": 311.7
  },
  "luminance": 0.1782
}

Semantic roles & 50–950 ramp

primary
#A052CB
secondary
#B5D5A3
accent
#DD4B7F
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A052CB

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

Preview Lab → · Contrast checker → · Palette generator →

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