#AE4DEC#AE4DEC

#AE4DEC is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.7% C 0.233 H 309.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#AE4DEC
RGBrgb(174, 77, 236)
HSLhsl(277, 81%, 61%)
HSVhsv(277, 67%, 93%)
CMYKcmyk(26.3%, 67.4%, 0%, 7.5%)
CIE-LABlab(52.25, 65.06, -63.86)
CIE-LCHlch(52.25, 91.17, 315.53°)
OKLaboklab(61.69% 0.1469 -0.1807)
OKLCHoklch(61.69% 0.233 309.1)
XYZxyz(35.2467, 20.3632, 81.4143)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE4DEC #8BEC4D
analogous
#5F4DEC #AE4DEC #EC4DDB
triadic
#AE4DEC #ECAE4D #4DECAE
tetradic
#AE4DEC #EC5F4D #8BEC4D #4DDBEC
square
#AE4DEC #EC5F4D #8BEC4D #4DDBEC
split-complementary
#AE4DEC #DBEC4D #4DEC5F
monochromatic
#7012AC #9418E4 #AE4DEC #C784F2 #E0BCF8

Accessibility & contrast

On white

4.14
#AE4DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#AE4DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE4DEC
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE4DEC#FFFFFF#000000##000000
##AE4DEC1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F1
Deuteranopia (green-blind)
#2F7EE8
Tritanopia (blue-blind)
#A56F97
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ae4dec;
/* rgb */ color: rgb(174, 77, 236);
/* oklch */ color: oklch(61.7% 0.233 309.1);
Tailwind
colors: {
  custom: {
    50: '#cb86f3',
    500: '#ae4dec',
    950: '#000000',
  },
}
SCSS
$custom: #ae4dec;
$custom-light: #cb86f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ae4dec",
  "rgb": {
    "r": 174,
    "g": 77,
    "b": 236
  },
  "hsl": {
    "h": 276.604,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61692,
    "c": 0.23289,
    "h": 309.1
  },
  "luminance": 0.20363
}

Semantic roles & 50–950 ramp

primary
#AE4DEC
secondary
#C4E8AD
accent
#DD085B
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AE4DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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