#AE98FB#AE98FB

#AE98FB is a light, vivid violet. Relative luminance 0.384; OKLCH L 73.9% C 0.141 H 292.8°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#AE98FB
RGBrgb(174, 152, 251)
HSLhsl(253, 93%, 79%)
HSVhsv(253, 39%, 98%)
CMYKcmyk(30.7%, 39.4%, 0%, 1.6%)
CIE-LABlab(68.33, 29.34, -46.54)
CIE-LCHlch(68.33, 55.02, 302.23°)
OKLaboklab(73.86% 0.0548 -0.1302)
OKLCHoklch(73.86% 0.141 292.8)
XYZxyz(46.0920, 38.4194, 96.2354)
Luminance0.3842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE98FB #E5FB98
analogous
#98B4FB #AE98FB #DF98FB
triadic
#AE98FB #FBAE98 #98FBAE
tetradic
#AE98FB #FB98B4 #E5FB98 #98FBDF
square
#AE98FB #FB98B4 #E5FB98 #98FBDF
split-complementary
#AE98FB #FBDF98 #B4FB98
monochromatic
#5122F6 #805DF9 #AE98FB #DCD3FD #E8E2FE

Accessibility & contrast

On white

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

On black

8.68
#AE98FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE98FB
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE98FB#FFFFFF#000000##000000
##AE98FB1.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ae98fb;
/* rgb */ color: rgb(174, 152, 251);
/* oklch */ color: oklch(73.9% 0.141 292.8);
Tailwind
colors: {
  custom: {
    50: '#c8b6fd',
    500: '#ae98fb',
    950: '#000000',
  },
}
SCSS
$custom: #ae98fb;
$custom-light: #c8b6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ae98fb",
  "rgb": {
    "r": 174,
    "g": 152,
    "b": 251
  },
  "hsl": {
    "h": 253.333,
    "s": 92.523,
    "l": 79.02
  },
  "oklch": {
    "l": 0.73857,
    "c": 0.14131,
    "h": 292.8
  },
  "luminance": 0.3842
}

Semantic roles & 50–950 ramp

primary
#AE98FB
secondary
#EFF6D5
accent
#E600B3
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AE98FB

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

Preview Lab → · Contrast checker → · Palette generator →

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