#AF99FE#AF99FE

#AF99FE is a light, vivid violet. Relative luminance 0.391; OKLCH L 74.3% C 0.144 H 292.6°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#AF99FE
RGBrgb(175, 153, 254)
HSLhsl(253, 98%, 80%)
HSVhsv(253, 40%, 100%)
CMYKcmyk(31.1%, 39.8%, 0%, 0.4%)
CIE-LABlab(68.79, 29.80, -47.45)
CIE-LCHlch(68.79, 56.02, 302.13°)
OKLaboklab(74.27% 0.0552 -0.1328)
OKLCHoklch(74.27% 0.144 292.6)
XYZxyz(46.9553, 39.0513, 98.8105)
Luminance0.3905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF99FE #E8FE99
analogous
#99B6FE #AF99FE #E199FE
triadic
#AF99FE #FEAF99 #99FEAF
tetradic
#AF99FE #FE99B6 #E8FE99 #99FEE1
square
#AF99FE #FE99B6 #E8FE99 #99FEE1
split-complementary
#AF99FE #FEE199 #B6FE99
monochromatic
#5020FD #7F5CFD #AF99FE #DFD6FF #E7E1FF

Accessibility & contrast

On white

2.38
#AF99FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#AF99FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF99FE
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF99FE#FFFFFF#000000##000000
##AF99FE1.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA9FF
Deuteranopia (green-blind)
#7DA6FB
Tritanopia (blue-blind)
#9DABBF
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #af99fe;
/* rgb */ color: rgb(175, 153, 254);
/* oklch */ color: oklch(74.3% 0.144 292.6);
Tailwind
colors: {
  custom: {
    50: '#c9b7ff',
    500: '#af99fe',
    950: '#000000',
  },
}
SCSS
$custom: #af99fe;
$custom-light: #c9b7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#af99fe",
  "rgb": {
    "r": 175,
    "g": 153,
    "b": 254
  },
  "hsl": {
    "h": 253.069,
    "s": 98.058,
    "l": 79.804
  },
  "oklch": {
    "l": 0.74272,
    "c": 0.14385,
    "h": 292.6
  },
  "luminance": 0.39052
}

Semantic roles & 50–950 ramp

primary
#AF99FE
secondary
#EFF7D4
accent
#E600B4
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #AF99FE

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

Preview Lab → · Contrast checker → · Palette generator →

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