#AE98FC#AE98FC

#AE98FC is a light, vivid violet. Relative luminance 0.385; OKLCH L 73.9% C 0.143 H 292.7°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#AE98FC
RGBrgb(174, 152, 252)
HSLhsl(253, 94%, 79%)
HSVhsv(253, 40%, 99%)
CMYKcmyk(31%, 39.7%, 0%, 1.2%)
CIE-LABlab(68.37, 29.59, -47.01)
CIE-LCHlch(68.37, 55.55, 302.19°)
OKLaboklab(73.91% 0.055 -0.1316)
OKLCHoklch(73.91% 0.143 292.7)
XYZxyz(46.2500, 38.4826, 97.0677)
Luminance0.3848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE98FC #E6FC98
analogous
#98B4FC #AE98FC #E098FC
triadic
#AE98FC #FCAE98 #98FCAE
tetradic
#AE98FC #FC98B4 #E6FC98 #98FCE0
square
#AE98FC #FC98B4 #E6FC98 #98FCE0
split-complementary
#AE98FC #FCE098 #B4FC98
monochromatic
#5021F9 #7F5DFA #AE98FC #DDD3FE #E8E1FE

Accessibility & contrast

On white

2.41
#AE98FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#AE98FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE98FC
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE98FC#FFFFFF#000000##000000
##AE98FC1.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA8FF
Deuteranopia (green-blind)
#7DA5F9
Tritanopia (blue-blind)
#9CAABE
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ae98fc;
/* rgb */ color: rgb(174, 152, 252);
/* oklch */ color: oklch(73.9% 0.143 292.7);
Tailwind
colors: {
  custom: {
    50: '#c8b6fe',
    500: '#ae98fc',
    950: '#000000',
  },
}
SCSS
$custom: #ae98fc;
$custom-light: #c8b6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ae98fc",
  "rgb": {
    "r": 174,
    "g": 152,
    "b": 252
  },
  "hsl": {
    "h": 253.2,
    "s": 94.34,
    "l": 79.216
  },
  "oklch": {
    "l": 0.73907,
    "c": 0.14265,
    "h": 292.7
  },
  "luminance": 0.38483
}

Semantic roles & 50–950 ramp

primary
#AE98FC
secondary
#EFF6D5
accent
#E600B3
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #AE98FC

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

Preview Lab → · Contrast checker → · Palette generator →

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