#AD52E4#AD52E4

#AD52E4 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.6% C 0.218 H 310.2°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#AD52E4
RGBrgb(173, 82, 228)
HSLhsl(277, 73%, 61%)
HSVhsv(277, 64%, 89%)
CMYKcmyk(24.1%, 64%, 0%, 10.6%)
CIE-LABlab(52.42, 60.89, -59.09)
CIE-LCHlch(52.42, 84.85, 315.86°)
OKLaboklab(61.63% 0.1409 -0.1667)
OKLCHoklch(61.63% 0.218 310.2)
XYZxyz(34.2518, 20.5210, 75.5403)
Luminance0.2052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD52E4 #89E452
analogous
#6452E4 #AD52E4 #E452D2
triadic
#AD52E4 #E4AD52 #52E4AD
tetradic
#AD52E4 #E46452 #89E452 #52D2E4
square
#AD52E4 #E46452 #89E452 #52D2E4
split-complementary
#AD52E4 #D2E452 #52E464
monochromatic
#6F19A2 #9322D7 #AD52E4 #C687EC #DFBCF5

Accessibility & contrast

On white

4.11
#AD52E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#AD52E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD52E4
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD52E4#FFFFFF#000000##000000
##AD52E41.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E8
Deuteranopia (green-blind)
#3F7FE1
Tritanopia (blue-blind)
#A66F94
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ad52e4;
/* rgb */ color: rgb(173, 82, 228);
/* oklch */ color: oklch(61.6% 0.218 310.2);
Tailwind
colors: {
  custom: {
    50: '#c988ed',
    500: '#ad52e4',
    950: '#000000',
  },
}
SCSS
$custom: #ad52e4;
$custom-light: #c988ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ad52e4",
  "rgb": {
    "r": 173,
    "g": 82,
    "b": 228
  },
  "hsl": {
    "h": 277.397,
    "s": 73,
    "l": 60.784
  },
  "oklch": {
    "l": 0.6163,
    "c": 0.21827,
    "h": 310.2
  },
  "luminance": 0.2052
}

Semantic roles & 50–950 ramp

primary
#AD52E4
secondary
#C2E5AD
accent
#D5105B
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AD52E4

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

Preview Lab → · Contrast checker → · Palette generator →

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