#AE66EC#AE66EC

#AE66EC is a light, vivid violet. Relative luminance 0.246; OKLCH L 64.9% C 0.199 H 306.4°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#AE66EC
RGBrgb(174, 102, 236)
HSLhsl(272, 78%, 66%)
HSVhsv(272, 57%, 93%)
CMYKcmyk(26.3%, 56.8%, 0%, 7.5%)
CIE-LABlab(56.64, 53.10, -56.80)
CIE-LCHlch(56.64, 77.75, 313.07°)
OKLaboklab(64.88% 0.1182 -0.1601)
OKLCHoklch(64.88% 0.199 306.4)
XYZxyz(37.3441, 24.5579, 82.1134)
Luminance0.2456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE66EC #A4EC66
analogous
#6B66EC #AE66EC #EC66E7
triadic
#AE66EC #ECAE66 #66ECAE
tetradic
#AE66EC #EC6B66 #A4EC66 #66E7EC
square
#AE66EC #EC6B66 #A4EC66 #66E7EC
split-complementary
#AE66EC #E7EC66 #66EC6B
monochromatic
#7218C0 #9130E5 #AE66EC #CB9CF3 #E8D3FA

Accessibility & contrast

On white

3.55
#AE66EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#AE66EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE66EC
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE66EC#FFFFFF#000000##000000
##AE66EC1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3285F0
Deuteranopia (green-blind)
#4F88E9
Tritanopia (blue-blind)
#A4809F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ae66ec;
/* rgb */ color: rgb(174, 102, 236);
/* oklch */ color: oklch(64.9% 0.199 306.4);
Tailwind
colors: {
  custom: {
    50: '#ca94f3',
    500: '#ae66ec',
    950: '#000000',
  },
}
SCSS
$custom: #ae66ec;
$custom-light: #ca94f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ae66ec",
  "rgb": {
    "r": 174,
    "g": 102,
    "b": 236
  },
  "hsl": {
    "h": 272.239,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.64876,
    "c": 0.19902,
    "h": 306.4
  },
  "luminance": 0.24558
}

Semantic roles & 50–950 ramp

primary
#AE66EC
secondary
#D5EDC1
accent
#DA0B6B
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #AE66EC

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

Preview Lab → · Contrast checker → · Palette generator →

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