#AE98F7#AE98F7

#AE98F7 is a light, vivid violet. Relative luminance 0.382; OKLCH L 73.7% C 0.136 H 293.4°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#AE98F7
RGBrgb(174, 152, 247)
HSLhsl(254, 86%, 78%)
HSVhsv(254, 38%, 97%)
CMYKcmyk(29.6%, 38.5%, 0%, 3.1%)
CIE-LABlab(68.15, 28.35, -44.65)
CIE-LCHlch(68.15, 52.89, 302.41°)
OKLaboklab(73.66% 0.054 -0.1247)
OKLCHoklch(73.66% 0.136 293.4)
XYZxyz(45.4681, 38.1698, 92.9497)
Luminance0.3817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE98F7 #E1F798
analogous
#98B1F7 #AE98F7 #DE98F7
triadic
#AE98F7 #F7AE98 #98F7AE
tetradic
#AE98F7 #F798B1 #E1F798 #98F7DE
square
#AE98F7 #F798B1 #E1F798 #98F7DE
split-complementary
#AE98F7 #F7DE98 #B1F798
monochromatic
#5526EE #815FF3 #AE98F7 #DBD1FB #E9E3FD

Accessibility & contrast

On white

2.43
#AE98F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#AE98F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE98F7
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE98F7#FFFFFF#000000##000000
##AE98F71.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA7FB
Deuteranopia (green-blind)
#7FA5F5
Tritanopia (blue-blind)
#9EA9BC
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ae98f7;
/* rgb */ color: rgb(174, 152, 247);
/* oklch */ color: oklch(73.7% 0.136 293.4);
Tailwind
colors: {
  custom: {
    50: '#c8b6fa',
    500: '#ae98f7',
    950: '#000000',
  },
}
SCSS
$custom: #ae98f7;
$custom-light: #c8b6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ae98f7",
  "rgb": {
    "r": 174,
    "g": 152,
    "b": 247
  },
  "hsl": {
    "h": 253.895,
    "s": 85.586,
    "l": 78.235
  },
  "oklch": {
    "l": 0.73657,
    "c": 0.13595,
    "h": 293.4
  },
  "luminance": 0.38171
}

Semantic roles & 50–950 ramp

primary
#AE98F7
secondary
#EEF5D6
accent
#E203AF
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AE98F7

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

Preview Lab → · Contrast checker → · Palette generator →

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