#A052E7#A052E7

#A052E7 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.3% C 0.218 H 304.7°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#A052E7
RGBrgb(160, 82, 231)
HSLhsl(271, 76%, 61%)
HSVhsv(271, 65%, 91%)
CMYKcmyk(30.7%, 64.5%, 0%, 9.4%)
CIE-LABlab(51.01, 58.76, -63.13)
CIE-LCHlch(51.01, 86.25, 312.95°)
OKLaboklab(60.33% 0.1241 -0.179)
OKLCHoklch(60.33% 0.218 304.7)
XYZxyz(31.9351, 19.2779, 77.6244)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A052E7 #99E752
analogous
#5652E7 #A052E7 #E752E4
triadic
#A052E7 #E7A052 #52E7A0
tetradic
#A052E7 #E75652 #99E752 #52E4E7
square
#A052E7 #E75652 #99E752 #52E4E7
split-complementary
#A052E7 #E4E752 #52E756
monochromatic
#6317A7 #821FDD #A052E7 #BE88EE #DBBDF6

Accessibility & contrast

On white

4.32
#A052E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#A052E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A052E7
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A052E7#FFFFFF#000000##000000
##A052E71.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EC
Deuteranopia (green-blind)
#267AE4
Tritanopia (blue-blind)
#937296
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a052e7;
/* rgb */ color: rgb(160, 82, 231);
/* oklch */ color: oklch(60.3% 0.218 304.7);
Tailwind
colors: {
  custom: {
    50: '#c187ef',
    500: '#a052e7',
    950: '#000000',
  },
}
SCSS
$custom: #a052e7;
$custom-light: #c187ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a052e7",
  "rgb": {
    "r": 160,
    "g": 82,
    "b": 231
  },
  "hsl": {
    "h": 271.409,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.60328,
    "c": 0.21782,
    "h": 304.7
  },
  "luminance": 0.19278
}

Semantic roles & 50–950 ramp

primary
#A052E7
secondary
#C9E6AF
accent
#D80E6E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A052E7

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

Preview Lab → · Contrast checker → · Palette generator →

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