#AE4AEB#AE4AEB

#AE4AEB is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 61.3% C 0.236 H 309.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#AE4AEB
RGBrgb(174, 74, 235)
HSLhsl(277, 80%, 61%)
HSVhsv(277, 69%, 92%)
CMYKcmyk(26%, 68.5%, 0%, 7.8%)
CIE-LABlab(51.72, 66.14, -64.15)
CIE-LCHlch(51.72, 92.14, 315.87°)
OKLaboklab(61.3% 0.1501 -0.1815)
OKLCHoklch(61.3% 0.236 309.6)
XYZxyz(34.8968, 19.8951, 80.5829)
Luminance0.1989 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE4AEB #87EB4A
analogous
#5D4AEB #AE4AEB #EB4AD8
triadic
#AE4AEB #EBAE4A #4AEBAE
tetradic
#AE4AEB #EB5D4A #87EB4A #4AD8EB
square
#AE4AEB #EB5D4A #87EB4A #4AD8EB
split-complementary
#AE4AEB #D8EB4A #4AEB5D
monochromatic
#6F13A8 #9419DF #AE4AEB #C781F1 #DFB8F7

Accessibility & contrast

On white

4.22
#AE4AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#AE4AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE4AEB
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE4AEB#FFFFFF#000000##000000
##AE4AEB1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F0
Deuteranopia (green-blind)
#2C7DE7
Tritanopia (blue-blind)
#A56D95
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ae4aeb;
/* rgb */ color: rgb(174, 74, 235);
/* oklch */ color: oklch(61.3% 0.236 309.6);
Tailwind
colors: {
  custom: {
    50: '#cb84f2',
    500: '#ae4aeb',
    950: '#000000',
  },
}
SCSS
$custom: #ae4aeb;
$custom-light: #cb84f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ae4aeb",
  "rgb": {
    "r": 174,
    "g": 74,
    "b": 235
  },
  "hsl": {
    "h": 277.267,
    "s": 80.1,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61295,
    "c": 0.23556,
    "h": 309.6
  },
  "luminance": 0.19894
}

Semantic roles & 50–950 ramp

primary
#AE4AEB
secondary
#C1E7AA
accent
#DC0959
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B17
muted
#837C85

Preview Lab

Preview with #AE4AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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