#AE4AEA#AE4AEA

#AE4AEA is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 61.2% C 0.235 H 309.8°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#AE4AEA
RGBrgb(174, 74, 234)
HSLhsl(278, 79%, 60%)
HSVhsv(278, 68%, 92%)
CMYKcmyk(25.6%, 68.4%, 0%, 8.2%)
CIE-LABlab(51.65, 65.93, -63.70)
CIE-LCHlch(51.65, 91.67, 315.99°)
OKLaboklab(61.23% 0.1502 -0.1802)
OKLCHoklch(61.23% 0.235 309.8)
XYZxyz(34.7527, 19.8374, 79.8242)
Luminance0.1984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE4AEA #86EA4A
analogous
#5E4AEA #AE4AEA #EA4AD6
triadic
#AE4AEA #EAAE4A #4AEAAE
tetradic
#AE4AEA #EA5E4A #86EA4A #4AD6EA
square
#AE4AEA #EA5E4A #86EA4A #4AD6EA
split-complementary
#AE4AEA #D6EA4A #4AEA5E
monochromatic
#6F13A6 #941ADD #AE4AEA #C781F0 #DFB8F7

Accessibility & contrast

On white

4.23
#AE4AEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#AE4AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE4AEA
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE4AEA#FFFFFF#000000##000000
##AE4AEA1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EF
Deuteranopia (green-blind)
#2E7DE6
Tritanopia (blue-blind)
#A66D95
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ae4aea;
/* rgb */ color: rgb(174, 74, 234);
/* oklch */ color: oklch(61.2% 0.235 309.8);
Tailwind
colors: {
  custom: {
    50: '#cb84f2',
    500: '#ae4aea',
    950: '#000000',
  },
}
SCSS
$custom: #ae4aea;
$custom-light: #cb84f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ae4aea",
  "rgb": {
    "r": 174,
    "g": 74,
    "b": 234
  },
  "hsl": {
    "h": 277.5,
    "s": 79.208,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61227,
    "c": 0.2346,
    "h": 309.8
  },
  "luminance": 0.19837
}

Semantic roles & 50–950 ramp

primary
#AE4AEA
secondary
#C0E6A9
accent
#DC0A59
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B17
muted
#837C85

Preview Lab

Preview with #AE4AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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