#A052D7#A052D7

#A052D7 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.3% C 0.201 H 308.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#A052D7
RGBrgb(160, 82, 215)
HSLhsl(275, 62%, 58%)
HSVhsv(275, 62%, 84%)
CMYKcmyk(25.6%, 61.9%, 0%, 15.7%)
CIE-LABlab(50.00, 55.13, -55.70)
CIE-LCHlch(50.00, 78.37, 314.70°)
OKLaboklab(59.27% 0.125 -0.1572)
OKLCHoklch(59.27% 0.201 308.5)
XYZxyz(29.7778, 18.4149, 66.2625)
Luminance0.1841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A052D7 #89D752
analogous
#5D52D7 #A052D7 #D752CB
triadic
#A052D7 #D7A052 #52D7A0
tetradic
#A052D7 #D75D52 #89D752 #52CBD7
square
#A052D7 #D75D52 #89D752 #52CBD7
split-complementary
#A052D7 #CBD752 #52D75D
monochromatic
#61218E #832CC0 #A052D7 #BB84E2 #D7B5EE

Accessibility & contrast

On white

4.48
#A052D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#A052D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A052D7
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A052D7#FFFFFF#000000##000000
##A052D71.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A74DB
Deuteranopia (green-blind)
#3D78D4
Tritanopia (blue-blind)
#986C8D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a052d7;
/* rgb */ color: rgb(160, 82, 215);
/* oklch */ color: oklch(59.3% 0.201 308.5);
Tailwind
colors: {
  custom: {
    50: '#c087e4',
    500: '#a052d7',
    950: '#000000',
  },
}
SCSS
$custom: #a052d7;
$custom-light: #c087e4;
$custom-dark: #000000;
JSON
{
  "hex": "#a052d7",
  "rgb": {
    "r": 160,
    "g": 82,
    "b": 215
  },
  "hsl": {
    "h": 275.188,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59271,
    "c": 0.20086,
    "h": 308.5
  },
  "luminance": 0.18414
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A052D7

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

Preview Lab → · Contrast checker → · Palette generator →

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