#AE7ECC#AE7ECC

#AE7ECC is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.0% C 0.123 H 311.6°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#AE7ECC
RGBrgb(174, 126, 204)
HSLhsl(277, 43%, 65%)
HSVhsv(277, 38%, 80%)
CMYKcmyk(14.7%, 38.2%, 0%, 20%)
CIE-LABlab(60.14, 32.94, -33.31)
CIE-LCHlch(60.14, 46.85, 314.68°)
OKLaboklab(66.96% 0.0817 -0.092)
OKLCHoklch(66.96% 0.123 311.6)
XYZxyz(35.8136, 28.2806, 60.6871)
Luminance0.2828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE7ECC #9CCC7E
analogous
#877ECC #AE7ECC #CC7EC3
triadic
#AE7ECC #CCAE7E #7ECCAE
tetradic
#AE7ECC #CC877E #9CCC7E #7EC3CC
square
#AE7ECC #CC877E #9CCC7E #7EC3CC
split-complementary
#AE7ECC #C3CC7E #7ECC87
monochromatic
#723B95 #9252BB #AE7ECC #CAAADD #E5D6EF

Accessibility & contrast

On white

3.16
#AE7ECC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#AE7ECC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE7ECC
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE7ECC#FFFFFF#000000##000000
##AE7ECC1.003.166.666.66
#FFFFFF3.161.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8ECF
Deuteranopia (green-blind)
#7B92CA
Tritanopia (blue-blind)
#AB899B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ae7ecc;
/* rgb */ color: rgb(174, 126, 204);
/* oklch */ color: oklch(67.0% 0.123 311.6);
Tailwind
colors: {
  custom: {
    50: '#c7a4dc',
    500: '#ae7ecc',
    950: '#000000',
  },
}
SCSS
$custom: #ae7ecc;
$custom-light: #c7a4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ae7ecc",
  "rgb": {
    "r": 174,
    "g": 126,
    "b": 204
  },
  "hsl": {
    "h": 276.923,
    "s": 43.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.66962,
    "c": 0.12305,
    "h": 311.6
  },
  "luminance": 0.2828
}

Semantic roles & 50–950 ramp

primary
#AE7ECC
secondary
#D0E0C6
accent
#B62F63
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #AE7ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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