#AE98FA#AE98FA

#AE98FA is a light, vivid violet. Relative luminance 0.384; OKLCH L 73.8% C 0.140 H 293.0°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#AE98FA
RGBrgb(174, 152, 250)
HSLhsl(253, 91%, 79%)
HSVhsv(253, 39%, 98%)
CMYKcmyk(30.4%, 39.2%, 0%, 2%)
CIE-LABlab(68.28, 29.09, -46.07)
CIE-LCHlch(68.28, 54.48, 302.27°)
OKLaboklab(73.81% 0.0546 -0.1289)
OKLCHoklch(73.81% 0.14 293)
XYZxyz(45.9348, 38.3565, 95.4074)
Luminance0.3836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE98FA #E4FA98
analogous
#98B3FA #AE98FA #DF98FA
triadic
#AE98FA #FAAE98 #98FAAE
tetradic
#AE98FA #FA98B3 #E4FA98 #98FADF
square
#AE98FA #FA98B3 #E4FA98 #98FADF
split-complementary
#AE98FA #FADF98 #B3FA98
monochromatic
#5223F4 #805EF7 #AE98FA #DCD2FD #E8E2FE

Accessibility & contrast

On white

2.42
#AE98FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#AE98FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE98FA
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE98FA#FFFFFF#000000##000000
##AE98FA1.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA8FE
Deuteranopia (green-blind)
#7EA5F8
Tritanopia (blue-blind)
#9DAABD
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ae98fa;
/* rgb */ color: rgb(174, 152, 250);
/* oklch */ color: oklch(73.8% 0.140 293.0);
Tailwind
colors: {
  custom: {
    50: '#c8b6fc',
    500: '#ae98fa',
    950: '#000000',
  },
}
SCSS
$custom: #ae98fa;
$custom-light: #c8b6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ae98fa",
  "rgb": {
    "r": 174,
    "g": 152,
    "b": 250
  },
  "hsl": {
    "h": 253.469,
    "s": 90.741,
    "l": 78.824
  },
  "oklch": {
    "l": 0.73806,
    "c": 0.13998,
    "h": 293
  },
  "luminance": 0.38357
}

Semantic roles & 50–950 ramp

primary
#AE98FA
secondary
#EEF6D5
accent
#E600B2
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AE98FA

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

Preview Lab → · Contrast checker → · Palette generator →

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