#A052CD#A052CD

#A052CD is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.6% C 0.190 H 311.1°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#A052CD
RGBrgb(160, 82, 205)
HSLhsl(278, 55%, 56%)
HSVhsv(278, 60%, 80%)
CMYKcmyk(22%, 60%, 0%, 19.6%)
CIE-LABlab(49.39, 52.91, -50.95)
CIE-LCHlch(49.39, 73.45, 316.08°)
OKLaboklab(58.64% 0.1252 -0.1433)
OKLCHoklch(58.64% 0.19 311.1)
XYZxyz(28.5319, 17.9166, 59.7010)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A052CD #7FCD52
analogous
#6352CD #A052CD #CD52BD
triadic
#A052CD #CDA052 #52CDA0
tetradic
#A052CD #CD6352 #7FCD52 #52BDCD
square
#A052CD #CD6352 #7FCD52 #52BDCD
split-complementary
#A052CD #BDCD52 #52CD63
monochromatic
#5E2580 #8233AF #A052CD #BA81DB #D4B1E8

Accessibility & contrast

On white

4.58
#A052CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#A052CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A052CD
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A052CD#FFFFFF#000000##000000
##A052CD1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2472D1
Deuteranopia (green-blind)
#4777CA
Tritanopia (blue-blind)
#9B6988
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a052cd;
/* rgb */ color: rgb(160, 82, 205);
/* oklch */ color: oklch(58.6% 0.190 311.1);
Tailwind
colors: {
  custom: {
    50: '#bf87dd',
    500: '#a052cd',
    950: '#000000',
  },
}
SCSS
$custom: #a052cd;
$custom-light: #bf87dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a052cd",
  "rgb": {
    "r": 160,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 278.049,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58641,
    "c": 0.19027,
    "h": 311.1
  },
  "luminance": 0.17916
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A052CD

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

Preview Lab → · Contrast checker → · Palette generator →

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