#AF99FC#AF99FC

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

Color values

HEX#AF99FC
RGBrgb(175, 153, 252)
HSLhsl(253, 94%, 79%)
HSVhsv(253, 39%, 99%)
CMYKcmyk(30.6%, 39.3%, 0%, 1.2%)
CIE-LABlab(68.70, 29.30, -46.50)
CIE-LCHlch(68.70, 54.96, 302.21°)
OKLaboklab(74.17% 0.0548 -0.1301)
OKLCHoklch(74.17% 0.141 292.8)
XYZxyz(46.6367, 38.9239, 97.1326)
Luminance0.3892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF99FC #E6FC99
analogous
#99B5FC #AF99FC #E099FC
triadic
#AF99FC #FCAF99 #99FCAF
tetradic
#AF99FC #FC99B5 #E6FC99 #99FCE0
square
#AF99FC #FC99B5 #E6FC99 #99FCE0
split-complementary
#AF99FC #FCE099 #B5FC99
monochromatic
#5222F9 #805EFA #AF99FC #DED4FE #E8E1FE

Accessibility & contrast

On white

2.39
#AF99FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#AF99FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF99FC
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF99FC#FFFFFF#000000##000000
##AF99FC1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA9FF
Deuteranopia (green-blind)
#7EA6FA
Tritanopia (blue-blind)
#9EABBF
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #af99fc;
/* rgb */ color: rgb(175, 153, 252);
/* oklch */ color: oklch(74.2% 0.141 292.8);
Tailwind
colors: {
  custom: {
    50: '#c9b7fe',
    500: '#af99fc',
    950: '#000000',
  },
}
SCSS
$custom: #af99fc;
$custom-light: #c9b7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#af99fc",
  "rgb": {
    "r": 175,
    "g": 153,
    "b": 252
  },
  "hsl": {
    "h": 253.333,
    "s": 94.286,
    "l": 79.412
  },
  "oklch": {
    "l": 0.74171,
    "c": 0.14118,
    "h": 292.8
  },
  "luminance": 0.38925
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF99FC

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

Preview Lab → · Contrast checker → · Palette generator →

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