#AE52ED#AE52ED

#AE52ED is a light, highly saturated violet. Relative luminance 0.211; OKLCH L 62.3% C 0.228 H 308.4°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#AE52ED
RGBrgb(174, 82, 237)
HSLhsl(276, 81%, 63%)
HSVhsv(276, 65%, 93%)
CMYKcmyk(26.6%, 65.4%, 0%, 7.1%)
CIE-LABlab(53.11, 63.05, -63.03)
CIE-LCHlch(53.11, 89.15, 315.01°)
OKLaboklab(62.33% 0.1415 -0.1783)
OKLCHoklch(62.33% 0.228 308.4)
XYZxyz(35.7558, 21.1482, 82.3027)
Luminance0.2115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE52ED #91ED52
analogous
#6152ED #AE52ED #ED52DE
triadic
#AE52ED #EDAE52 #52EDAE
tetradic
#AE52ED #ED6152 #91ED52 #52DEED
square
#AE52ED #ED6152 #91ED52 #52DEED
split-complementary
#AE52ED #DEED52 #52ED61
monochromatic
#7113B2 #941BE7 #AE52ED #C889F3 #E2C1F9

Accessibility & contrast

On white

4.02
#AE52ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#AE52ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE52ED
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE52ED#FFFFFF#000000##000000
##AE52ED1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF2
Deuteranopia (green-blind)
#3580EA
Tritanopia (blue-blind)
#A47399
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ae52ed;
/* rgb */ color: rgb(174, 82, 237);
/* oklch */ color: oklch(62.3% 0.228 308.4);
Tailwind
colors: {
  custom: {
    50: '#cb88f4',
    500: '#ae52ed',
    950: '#000000',
  },
}
SCSS
$custom: #ae52ed;
$custom-light: #cb88f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ae52ed",
  "rgb": {
    "r": 174,
    "g": 82,
    "b": 237
  },
  "hsl": {
    "h": 275.613,
    "s": 81.152,
    "l": 62.549
  },
  "oklch": {
    "l": 0.62334,
    "c": 0.2276,
    "h": 308.4
  },
  "luminance": 0.21148
}

Semantic roles & 50–950 ramp

primary
#AE52ED
secondary
#C8EAB1
accent
#DE085F
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140C17
muted
#827D85

Preview Lab

Preview with #AE52ED

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

Preview Lab → · Contrast checker → · Palette generator →

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