#A52EE3#A52EE3

#A52EE3 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 57.0% C 0.255 H 310.3°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#A52EE3
RGBrgb(165, 46, 227)
HSLhsl(279, 76%, 54%)
HSVhsv(279, 80%, 89%)
CMYKcmyk(27.3%, 79.7%, 0%, 11%)
CIE-LABlab(46.31, 73.19, -68.45)
CIE-LCHlch(46.31, 100.21, 316.92°)
OKLaboklab(57.04% 0.1645 -0.1943)
OKLCHoklch(57.04% 0.255 310.3)
XYZxyz(30.3564, 15.5001, 74.0508)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52EE3 #6CE32E
analogous
#4B2EE3 #A52EE3 #E32EC6
triadic
#A52EE3 #E3A52E #2EE3A5
tetradic
#A52EE3 #E34B2E #6CE32E #2EC6E3
square
#A52EE3 #E34B2E #6CE32E #2EC6E3
split-complementary
#A52EE3 #C6E32E #2EE34B
monochromatic
#5D1285 #8319BB #A52EE3 #BC64EA #D39AF1

Accessibility & contrast

On white

5.12
#A52EE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#A52EE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52EE3
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52EE3#FFFFFF#000000##FFFFFF
##A52EE31.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E8
Deuteranopia (green-blind)
#006FDF
Tritanopia (blue-blind)
#9C5D8A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a52ee3;
/* rgb */ color: rgb(165, 46, 227);
/* oklch */ color: oklch(57.0% 0.255 310.3);
Tailwind
colors: {
  custom: {
    50: '#c676ed',
    500: '#a52ee3',
    950: '#000000',
  },
}
SCSS
$custom: #a52ee3;
$custom-light: #c676ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a52ee3",
  "rgb": {
    "r": 165,
    "g": 46,
    "b": 227
  },
  "hsl": {
    "h": 279.448,
    "s": 76.371,
    "l": 53.529
  },
  "oklch": {
    "l": 0.57044,
    "c": 0.25456,
    "h": 310.3
  },
  "luminance": 0.15499
}

Semantic roles & 50–950 ramp

primary
#A52EE3
secondary
#AADD90
accent
#F33576
background
#FCF7FE
surface
#F9EEFD
border
#D2C9D5
text
#140916
muted
#827B84

Preview Lab

Preview with #A52EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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