#A052D8#A052D8

#A052D8 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.3% C 0.202 H 308.2°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#A052D8
RGBrgb(160, 82, 216)
HSLhsl(275, 63%, 58%)
HSVhsv(275, 62%, 85%)
CMYKcmyk(25.9%, 62%, 0%, 15.3%)
CIE-LABlab(50.06, 55.35, -56.17)
CIE-LCHlch(50.06, 78.86, 314.58°)
OKLaboklab(59.34% 0.125 -0.1586)
OKLCHoklch(59.34% 0.202 308.2)
XYZxyz(29.9067, 18.4665, 66.9413)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A052D8 #8AD852
analogous
#5D52D8 #A052D8 #D852CD
triadic
#A052D8 #D8A052 #52D8A0
tetradic
#A052D8 #D85D52 #8AD852 #52CDD8
square
#A052D8 #D85D52 #8AD852 #52CDD8
split-complementary
#A052D8 #CDD852 #52D85D
monochromatic
#61208F #832CC1 #A052D8 #BB84E3 #D7B6EF

Accessibility & contrast

On white

4.47
#A052D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#A052D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A052D8
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A052D8#FFFFFF#000000##000000
##A052D81.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0574DC
Deuteranopia (green-blind)
#3C78D5
Tritanopia (blue-blind)
#986D8E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a052d8;
/* rgb */ color: rgb(160, 82, 216);
/* oklch */ color: oklch(59.3% 0.202 308.2);
Tailwind
colors: {
  custom: {
    50: '#c087e5',
    500: '#a052d8',
    950: '#000000',
  },
}
SCSS
$custom: #a052d8;
$custom-light: #c087e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a052d8",
  "rgb": {
    "r": 160,
    "g": 82,
    "b": 216
  },
  "hsl": {
    "h": 274.925,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59335,
    "c": 0.20192,
    "h": 308.2
  },
  "luminance": 0.18466
}

Semantic roles & 50–950 ramp

primary
#A052D8
secondary
#BFDDA8
accent
#E64286
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A052D8

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

Preview Lab → · Contrast checker → · Palette generator →

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