#AE4DE7#AE4DE7

#AE4DE7 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.4% C 0.228 H 310.3°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#AE4DE7
RGBrgb(174, 77, 231)
HSLhsl(278, 76%, 60%)
HSVhsv(278, 67%, 91%)
CMYKcmyk(24.7%, 66.7%, 0%, 9.4%)
CIE-LABlab(51.92, 64.00, -61.57)
CIE-LCHlch(51.92, 88.81, 316.11°)
OKLaboklab(61.36% 0.1474 -0.174)
OKLCHoklch(61.36% 0.228 310.3)
XYZxyz(34.5305, 20.0767, 77.6420)
Luminance0.2008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE4DE7 #86E74D
analogous
#614DE7 #AE4DE7 #E74DD3
triadic
#AE4DE7 #E7AE4D #4DE7AE
tetradic
#AE4DE7 #E7614D #86E74D #4DD3E7
square
#AE4DE7 #E7614D #86E74D #4DD3E7
split-complementary
#AE4DE7 #D3E74D #4DE761
monochromatic
#6F16A4 #941DD9 #AE4DE7 #C783EE #DFB9F6

Accessibility & contrast

On white

4.19
#AE4DE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#AE4DE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE4DE7
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE4DE7#FFFFFF#000000##000000
##AE4DE71.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EC
Deuteranopia (green-blind)
#367DE4
Tritanopia (blue-blind)
#A66D94
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ae4de7;
/* rgb */ color: rgb(174, 77, 231);
/* oklch */ color: oklch(61.4% 0.228 310.3);
Tailwind
colors: {
  custom: {
    50: '#ca85ef',
    500: '#ae4de7',
    950: '#000000',
  },
}
SCSS
$custom: #ae4de7;
$custom-light: #ca85ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ae4de7",
  "rgb": {
    "r": 174,
    "g": 77,
    "b": 231
  },
  "hsl": {
    "h": 277.792,
    "s": 76.238,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61359,
    "c": 0.228,
    "h": 310.3
  },
  "luminance": 0.20076
}

Semantic roles & 50–950 ramp

primary
#AE4DE7
secondary
#C0E5AA
accent
#D80D58
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AE4DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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