#AE5FEC#AE5FEC

#AE5FEC is a light, highly saturated violet. Relative luminance 0.232; OKLCH L 63.9% C 0.209 H 307.3°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#AE5FEC
RGBrgb(174, 95, 236)
HSLhsl(274, 79%, 65%)
HSVhsv(274, 60%, 93%)
CMYKcmyk(26.3%, 59.7%, 0%, 7.5%)
CIE-LABlab(55.32, 56.64, -58.92)
CIE-LCHlch(55.32, 81.73, 313.87°)
OKLaboklab(63.91% 0.1267 -0.1663)
OKLCHoklch(63.91% 0.209 307.3)
XYZxyz(36.6850, 23.2397, 81.8937)
Luminance0.2324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE5FEC #9DEC5F
analogous
#685FEC #AE5FEC #EC5FE4
triadic
#AE5FEC #ECAE5F #5FECAE
tetradic
#AE5FEC #EC685F #9DEC5F #5FE4EC
square
#AE5FEC #EC685F #9DEC5F #5FE4EC
split-complementary
#AE5FEC #E4EC5F #5FEC68
monochromatic
#7216BA #9228E6 #AE5FEC #CA96F2 #E5CCF9

Accessibility & contrast

On white

3.72
#AE5FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#AE5FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE5FEC
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE5FEC#FFFFFF#000000##000000
##AE5FEC1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E82F0
Deuteranopia (green-blind)
#4785E9
Tritanopia (blue-blind)
#A47B9D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ae5fec;
/* rgb */ color: rgb(174, 95, 236);
/* oklch */ color: oklch(63.9% 0.209 307.3);
Tailwind
colors: {
  custom: {
    50: '#ca90f3',
    500: '#ae5fec',
    950: '#000000',
  },
}
SCSS
$custom: #ae5fec;
$custom-light: #ca90f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ae5fec",
  "rgb": {
    "r": 174,
    "g": 95,
    "b": 236
  },
  "hsl": {
    "h": 273.617,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.6391,
    "c": 0.20906,
    "h": 307.3
  },
  "luminance": 0.23239
}

Semantic roles & 50–950 ramp

primary
#AE5FEC
secondary
#D1EBBB
accent
#DB0A66
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #AE5FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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