#AF99FA#AF99FA

#AF99FA is a light, vivid violet. Relative luminance 0.388; OKLCH L 74.1% C 0.139 H 293.1°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#AF99FA
RGBrgb(175, 153, 250)
HSLhsl(254, 91%, 79%)
HSVhsv(254, 39%, 98%)
CMYKcmyk(30%, 38.8%, 0%, 2%)
CIE-LABlab(68.60, 28.80, -45.56)
CIE-LCHlch(68.60, 53.90, 302.30°)
OKLaboklab(74.07% 0.0544 -0.1274)
OKLCHoklch(74.07% 0.139 293.1)
XYZxyz(46.3214, 38.7978, 95.4722)
Luminance0.3880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF99FA #E4FA99
analogous
#99B4FA #AF99FA #E099FA
triadic
#AF99FA #FAAF99 #99FAAF
tetradic
#AF99FA #FA99B4 #E4FA99 #99FAE0
square
#AF99FA #FA99B4 #E4FA99 #99FAE0
split-complementary
#AF99FA #FAE099 #B4FA99
monochromatic
#5324F4 #815FF7 #AF99FA #DDD3FD #E8E2FE

Accessibility & contrast

On white

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

On black

8.76
#AF99FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF99FA
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF99FA#FFFFFF#000000##000000
##AF99FA1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA9FE
Deuteranopia (green-blind)
#7FA6F8
Tritanopia (blue-blind)
#9EAABE
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #af99fa;
/* rgb */ color: rgb(175, 153, 250);
/* oklch */ color: oklch(74.1% 0.139 293.1);
Tailwind
colors: {
  custom: {
    50: '#c9b7fc',
    500: '#af99fa',
    950: '#000000',
  },
}
SCSS
$custom: #af99fa;
$custom-light: #c9b7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#af99fa",
  "rgb": {
    "r": 175,
    "g": 153,
    "b": 250
  },
  "hsl": {
    "h": 253.608,
    "s": 90.654,
    "l": 79.02
  },
  "oklch": {
    "l": 0.74072,
    "c": 0.13851,
    "h": 293.1
  },
  "luminance": 0.38799
}

Semantic roles & 50–950 ramp

primary
#AF99FA
secondary
#EEF6D5
accent
#E600B1
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AF99FA

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

Preview Lab → · Contrast checker → · Palette generator →

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