#AE97DF#AE97DF

#AE97DF is a light, moderate violet. Relative luminance 0.365; OKLCH L 72.3% C 0.105 H 298.4°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#AE97DF
RGBrgb(174, 151, 223)
HSLhsl(259, 53%, 73%)
HSVhsv(259, 32%, 87%)
CMYKcmyk(22%, 32.3%, 0%, 12.5%)
CIE-LABlab(66.87, 23.15, -33.46)
CIE-LCHlch(66.87, 40.69, 304.68°)
OKLaboklab(72.34% 0.0501 -0.0925)
OKLCHoklch(72.34% 0.105 298.4)
XYZxyz(41.8385, 36.4594, 74.6309)
Luminance0.3646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE97DF #C8DF97
analogous
#97A4DF #AE97DF #D297DF
triadic
#AE97DF #DFAE97 #97DFAE
tetradic
#AE97DF #DF97A4 #C8DF97 #97DFD2
square
#AE97DF #DF97A4 #C8DF97 #97DFD2
split-complementary
#AE97DF #DFD297 #A4DF97
monochromatic
#663BC0 #8A68D1 #AE97DF #D2C6ED #EDE8F8

Accessibility & contrast

On white

2.53
#AE97DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#AE97DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE97DF
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE97DF#FFFFFF#000000##000000
##AE97DF1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A3E2
Deuteranopia (green-blind)
#8AA2DD
Tritanopia (blue-blind)
#A5A3B1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ae97df;
/* rgb */ color: rgb(174, 151, 223);
/* oklch */ color: oklch(72.3% 0.105 298.4);
Tailwind
colors: {
  custom: {
    50: '#c7b5e9',
    500: '#ae97df',
    950: '#000000',
  },
}
SCSS
$custom: #ae97df;
$custom-light: #c7b5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ae97df",
  "rgb": {
    "r": 174,
    "g": 151,
    "b": 223
  },
  "hsl": {
    "h": 259.167,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.72344,
    "c": 0.10519,
    "h": 298.4
  },
  "luminance": 0.3646
}

Semantic roles & 50–950 ramp

primary
#AE97DF
secondary
#E9EFDC
accent
#C0258F
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AE97DF

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

Preview Lab → · Contrast checker → · Palette generator →

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