#AF99FB#AF99FB

#AF99FB is a light, vivid violet. Relative luminance 0.389; OKLCH L 74.1% C 0.140 H 293.0°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#AF99FB
RGBrgb(175, 153, 251)
HSLhsl(253, 92%, 79%)
HSVhsv(253, 39%, 98%)
CMYKcmyk(30.3%, 39%, 0%, 1.6%)
CIE-LABlab(68.65, 29.05, -46.03)
CIE-LCHlch(68.65, 54.43, 302.26°)
OKLaboklab(74.12% 0.0546 -0.1287)
OKLCHoklch(74.12% 0.14 293)
XYZxyz(46.4786, 38.8607, 96.3002)
Luminance0.3886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF99FB #E5FB99
analogous
#99B4FB #AF99FB #E099FB
triadic
#AF99FB #FBAF99 #99FBAF
tetradic
#AF99FB #FB99B4 #E5FB99 #99FBE0
square
#AF99FB #FB99B4 #E5FB99 #99FBE0
split-complementary
#AF99FB #FBE099 #B4FB99
monochromatic
#5323F6 #815EF9 #AF99FB #DDD4FD #E8E2FE

Accessibility & contrast

On white

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

On black

8.77
#AF99FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF99FB
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF99FB#FFFFFF#000000##000000
##AF99FB1.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA9FF
Deuteranopia (green-blind)
#7FA6F9
Tritanopia (blue-blind)
#9EABBE
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #af99fb;
/* rgb */ color: rgb(175, 153, 251);
/* oklch */ color: oklch(74.1% 0.140 293.0);
Tailwind
colors: {
  custom: {
    50: '#c9b7fd',
    500: '#af99fb',
    950: '#000000',
  },
}
SCSS
$custom: #af99fb;
$custom-light: #c9b7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#af99fb",
  "rgb": {
    "r": 175,
    "g": 153,
    "b": 251
  },
  "hsl": {
    "h": 253.469,
    "s": 92.453,
    "l": 79.216
  },
  "oklch": {
    "l": 0.74121,
    "c": 0.13985,
    "h": 293
  },
  "luminance": 0.38861
}

Semantic roles & 50–950 ramp

primary
#AF99FB
secondary
#EFF6D5
accent
#E600B2
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AF99FB

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

Preview Lab → · Contrast checker → · Palette generator →

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