#A052DE#A052DE

#A052DE is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.7% C 0.208 H 306.8°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#A052DE
RGBrgb(160, 82, 222)
HSLhsl(273, 68%, 60%)
HSVhsv(273, 63%, 87%)
CMYKcmyk(27.9%, 63.1%, 0%, 12.9%)
CIE-LABlab(50.43, 56.70, -58.98)
CIE-LCHlch(50.43, 81.81, 313.87°)
OKLaboklab(59.73% 0.1247 -0.1668)
OKLCHoklch(59.73% 0.208 306.8)
XYZxyz(30.6965, 18.7824, 71.1013)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A052DE #90DE52
analogous
#5A52DE #A052DE #DE52D6
triadic
#A052DE #DEA052 #52DEA0
tetradic
#A052DE #DE5A52 #90DE52 #52D6DE
square
#A052DE #DE5A52 #90DE52 #52D6DE
split-complementary
#A052DE #D6DE52 #52DE5A
monochromatic
#621D99 #8327CC #A052DE #BC85E8 #D8B9F2

Accessibility & contrast

On white

4.42
#A052DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#A052DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A052DE
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A052DE#FFFFFF#000000##000000
##A052DE1.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E2
Deuteranopia (green-blind)
#3579DB
Tritanopia (blue-blind)
#966F91
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a052de;
/* rgb */ color: rgb(160, 82, 222);
/* oklch */ color: oklch(59.7% 0.208 306.8);
Tailwind
colors: {
  custom: {
    50: '#c087e9',
    500: '#a052de',
    950: '#000000',
  },
}
SCSS
$custom: #a052de;
$custom-light: #c087e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a052de",
  "rgb": {
    "r": 160,
    "g": 82,
    "b": 222
  },
  "hsl": {
    "h": 273.429,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59726,
    "c": 0.20829,
    "h": 306.8
  },
  "luminance": 0.18782
}

Semantic roles & 50–950 ramp

primary
#A052DE
secondary
#C3E1AB
accent
#EB3D8A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A052DE

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

Preview Lab → · Contrast checker → · Palette generator →

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