#AE98FF#AE98FF

#AE98FF is a light, vivid violet. Relative luminance 0.387; OKLCH L 74.1% C 0.147 H 292.3°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#AE98FF
RGBrgb(174, 152, 255)
HSLhsl(253, 100%, 80%)
HSVhsv(253, 40%, 100%)
CMYKcmyk(31.8%, 40.4%, 0%, 0%)
CIE-LABlab(68.51, 30.34, -48.43)
CIE-LCHlch(68.51, 57.15, 302.07°)
OKLaboklab(74.06% 0.0555 -0.1357)
OKLCHoklch(74.06% 0.147 292.3)
XYZxyz(46.7292, 38.6742, 99.5912)
Luminance0.3867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE98FF #E9FF98
analogous
#98B5FF #AE98FF #E298FF
triadic
#AE98FF #FFAE98 #98FFAE
tetradic
#AE98FF #FF98B5 #E9FF98 #98FFE2
square
#AE98FF #FF98B5 #E9FF98 #98FFE2
split-complementary
#AE98FF #FFE298 #B5FF98
monochromatic
#4E1EFF #7E5BFF #AE98FF #DED5FF #E7E0FF

Accessibility & contrast

On white

2.40
#AE98FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#AE98FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE98FF
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE98FF#FFFFFF#000000##000000
##AE98FF1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A9FF
Deuteranopia (green-blind)
#7BA5FC
Tritanopia (blue-blind)
#9BABBF
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ae98ff;
/* rgb */ color: rgb(174, 152, 255);
/* oklch */ color: oklch(74.1% 0.147 292.3);
Tailwind
colors: {
  custom: {
    50: '#c9b6ff',
    500: '#ae98ff',
    950: '#000000',
  },
}
SCSS
$custom: #ae98ff;
$custom-light: #c9b6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ae98ff",
  "rgb": {
    "r": 174,
    "g": 152,
    "b": 255
  },
  "hsl": {
    "h": 252.816,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.74059,
    "c": 0.14664,
    "h": 292.3
  },
  "luminance": 0.38675
}

Semantic roles & 50–950 ramp

primary
#AE98FF
secondary
#F0F7D4
accent
#E600B4
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #AE98FF

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

Preview Lab → · Contrast checker → · Palette generator →

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