#AE98F9#AE98F9

#AE98F9 is a light, vivid violet. Relative luminance 0.383; OKLCH L 73.8% C 0.139 H 293.1°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#AE98F9
RGBrgb(174, 152, 249)
HSLhsl(254, 89%, 79%)
HSVhsv(254, 39%, 98%)
CMYKcmyk(30.1%, 39%, 0%, 2.4%)
CIE-LABlab(68.24, 28.84, -45.60)
CIE-LCHlch(68.24, 53.95, 302.32°)
OKLaboklab(73.76% 0.0544 -0.1275)
OKLCHoklch(73.76% 0.139 293.1)
XYZxyz(45.7784, 38.2939, 94.5838)
Luminance0.3830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE98F9 #E3F998
analogous
#98B2F9 #AE98F9 #DE98F9
triadic
#AE98F9 #F9AE98 #98F9AE
tetradic
#AE98F9 #F998B2 #E3F998 #98F9DE
square
#AE98F9 #F998B2 #E3F998 #98F9DE
split-complementary
#AE98F9 #F9DE98 #B2F998
monochromatic
#5324F2 #815EF6 #AE98F9 #DBD2FC #E8E2FD

Accessibility & contrast

On white

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

On black

8.66
#AE98F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE98F9
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE98F9#FFFFFF#000000##000000
##AE98F91.002.438.668.66
#FFFFFF2.431.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA8FD
Deuteranopia (green-blind)
#7EA5F7
Tritanopia (blue-blind)
#9DA9BD
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ae98f9;
/* rgb */ color: rgb(174, 152, 249);
/* oklch */ color: oklch(73.8% 0.139 293.1);
Tailwind
colors: {
  custom: {
    50: '#c8b6fb',
    500: '#ae98f9',
    950: '#000000',
  },
}
SCSS
$custom: #ae98f9;
$custom-light: #c8b6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ae98f9",
  "rgb": {
    "r": 174,
    "g": 152,
    "b": 249
  },
  "hsl": {
    "h": 253.608,
    "s": 88.991,
    "l": 78.627
  },
  "oklch": {
    "l": 0.73757,
    "c": 0.13863,
    "h": 293.1
  },
  "luminance": 0.38295
}

Semantic roles & 50–950 ramp

primary
#AE98F9
secondary
#EEF5D6
accent
#E600B1
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AE98F9

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

Preview Lab → · Contrast checker → · Palette generator →

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