#A052DB#A052DB

#A052DB is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.5% C 0.205 H 307.5°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#A052DB
RGBrgb(160, 82, 219)
HSLhsl(274, 66%, 59%)
HSVhsv(274, 63%, 86%)
CMYKcmyk(26.9%, 62.6%, 0%, 14.1%)
CIE-LABlab(50.24, 56.02, -57.58)
CIE-LCHlch(50.24, 80.34, 314.22°)
OKLaboklab(59.53% 0.1249 -0.1627)
OKLCHoklch(59.53% 0.205 307.5)
XYZxyz(30.2980, 18.6230, 69.0026)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A052DB #8DDB52
analogous
#5C52DB #A052DB #DB52D1
triadic
#A052DB #DBA052 #52DBA0
tetradic
#A052DB #DB5C52 #8DDB52 #52D1DB
square
#A052DB #DB5C52 #8DDB52 #52D1DB
split-complementary
#A052DB #D1DB52 #52DB5C
monochromatic
#611F94 #8329C6 #A052DB #BC85E6 #D8B7F0

Accessibility & contrast

On white

4.44
#A052DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#A052DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A052DB
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A052DB#FFFFFF#000000##000000
##A052DB1.004.444.724.72
#FFFFFF4.441.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075DF
Deuteranopia (green-blind)
#3978D8
Tritanopia (blue-blind)
#976E8F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a052db;
/* rgb */ color: rgb(160, 82, 219);
/* oklch */ color: oklch(59.5% 0.205 307.5);
Tailwind
colors: {
  custom: {
    50: '#c087e7',
    500: '#a052db',
    950: '#000000',
  },
}
SCSS
$custom: #a052db;
$custom-light: #c087e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a052db",
  "rgb": {
    "r": 160,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 274.161,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59529,
    "c": 0.2051,
    "h": 307.5
  },
  "luminance": 0.18623
}

Semantic roles & 50–950 ramp

primary
#A052DB
secondary
#C1DFAA
accent
#E93F88
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A052DB

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

Preview Lab → · Contrast checker → · Palette generator →

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