#AE97EC#AE97EC

#AE97EC is a light, vivid violet. Relative luminance 0.372; OKLCH L 72.9% C 0.123 H 295.6°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#AE97EC
RGBrgb(174, 151, 236)
HSLhsl(256, 69%, 76%)
HSVhsv(256, 36%, 93%)
CMYKcmyk(26.3%, 36%, 0%, 7.5%)
CIE-LABlab(67.42, 26.23, -39.77)
CIE-LCHlch(67.42, 47.64, 303.41°)
OKLaboklab(72.94% 0.0531 -0.1106)
OKLCHoklch(72.94% 0.123 295.6)
XYZxyz(43.6589, 37.1875, 84.2184)
Luminance0.3719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE97EC #D5EC97
analogous
#97AAEC #AE97EC #D897EC
triadic
#AE97EC #ECAE97 #97ECAE
tetradic
#AE97EC #EC97AA #D5EC97 #97ECD8
square
#AE97EC #EC97AA #D5EC97 #97ECD8
split-complementary
#AE97EC #ECD897 #AAEC97
monochromatic
#5D30D9 #8663E3 #AE97EC #D6CBF5 #EBE5FA

Accessibility & contrast

On white

2.49
#AE97EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#AE97EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE97EC
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE97EC#FFFFFF#000000##000000
##AE97EC1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A5EF
Deuteranopia (green-blind)
#84A3EA
Tritanopia (blue-blind)
#A1A5B7
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ae97ec;
/* rgb */ color: rgb(174, 151, 236);
/* oklch */ color: oklch(72.9% 0.123 295.6);
Tailwind
colors: {
  custom: {
    50: '#c8b5f2',
    500: '#ae97ec',
    950: '#000000',
  },
}
SCSS
$custom: #ae97ec;
$custom-light: #c8b5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ae97ec",
  "rgb": {
    "r": 174,
    "g": 151,
    "b": 236
  },
  "hsl": {
    "h": 256.235,
    "s": 69.106,
    "l": 75.882
  },
  "oklch": {
    "l": 0.72943,
    "c": 0.12273,
    "h": 295.6
  },
  "luminance": 0.37188
}

Semantic roles & 50–950 ramp

primary
#AE97EC
secondary
#EBF2D9
accent
#D1149E
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AE97EC

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

Preview Lab → · Contrast checker → · Palette generator →

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