#AE97FB#AE97FB

#AE97FB is a light, vivid violet. Relative luminance 0.381; OKLCH L 73.7% C 0.143 H 293.1°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#AE97FB
RGBrgb(174, 151, 251)
HSLhsl(254, 93%, 79%)
HSVhsv(254, 40%, 98%)
CMYKcmyk(30.7%, 39.8%, 0%, 1.6%)
CIE-LABlab(68.09, 29.90, -46.91)
CIE-LCHlch(68.09, 55.63, 302.51°)
OKLaboklab(73.68% 0.0561 -0.1313)
OKLCHoklch(73.68% 0.143 293.1)
XYZxyz(45.9304, 38.0961, 96.1815)
Luminance0.3810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE97FB #E4FB97
analogous
#97B2FB #AE97FB #E097FB
triadic
#AE97FB #FBAE97 #97FBAE
tetradic
#AE97FB #FB97B2 #E4FB97 #97FBE0
square
#AE97FB #FB97B2 #E4FB97 #97FBE0
split-complementary
#AE97FB #FBE097 #B2FB97
monochromatic
#5221F6 #805CF9 #AE97FB #DCD2FD #E8E2FE

Accessibility & contrast

On white

2.44
#AE97FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#AE97FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE97FB
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE97FB#FFFFFF#000000##000000
##AE97FB1.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A7FF
Deuteranopia (green-blind)
#7CA4F8
Tritanopia (blue-blind)
#9DA9BD
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ae97fb;
/* rgb */ color: rgb(174, 151, 251);
/* oklch */ color: oklch(73.7% 0.143 293.1);
Tailwind
colors: {
  custom: {
    50: '#c8b5fd',
    500: '#ae97fb',
    950: '#000000',
  },
}
SCSS
$custom: #ae97fb;
$custom-light: #c8b5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ae97fb",
  "rgb": {
    "r": 174,
    "g": 151,
    "b": 251
  },
  "hsl": {
    "h": 253.8,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.73676,
    "c": 0.14282,
    "h": 293.1
  },
  "luminance": 0.38097
}

Semantic roles & 50–950 ramp

primary
#AE97FB
secondary
#EEF6D5
accent
#E600B1
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AE97FB

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

Preview Lab → · Contrast checker → · Palette generator →

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