#AF99DF#AF99DF

#AF99DF is a light, moderate violet. Relative luminance 0.372; OKLCH L 72.8% C 0.102 H 298.3°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#AF99DF
RGBrgb(175, 153, 223)
HSLhsl(259, 52%, 74%)
HSVhsv(259, 31%, 87%)
CMYKcmyk(21.5%, 31.4%, 0%, 12.5%)
CIE-LABlab(67.44, 22.33, -32.56)
CIE-LCHlch(67.44, 39.48, 304.44°)
OKLaboklab(72.8% 0.0484 -0.0899)
OKLCHoklch(72.8% 0.102 298.3)
XYZxyz(42.3868, 37.2239, 74.7496)
Luminance0.3722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF99DF #C9DF99
analogous
#99A6DF #AF99DF #D299DF
triadic
#AF99DF #DFAF99 #99DFAF
tetradic
#AF99DF #DF99A6 #C9DF99 #99DFD2
square
#AF99DF #DF99A6 #C9DF99 #99DFD2
split-complementary
#AF99DF #DFD299 #A6DF99
monochromatic
#663DC1 #8A6AD0 #AF99DF #D4C8EE #EDE8F8

Accessibility & contrast

On white

2.49
#AF99DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#AF99DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF99DF
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF99DF#FFFFFF#000000##000000
##AF99DF1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A4E2
Deuteranopia (green-blind)
#8CA4DD
Tritanopia (blue-blind)
#A6A4B2
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #af99df;
/* rgb */ color: rgb(175, 153, 223);
/* oklch */ color: oklch(72.8% 0.102 298.3);
Tailwind
colors: {
  custom: {
    50: '#c8b7e9',
    500: '#af99df',
    950: '#000000',
  },
}
SCSS
$custom: #af99df;
$custom-light: #c8b7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#af99df",
  "rgb": {
    "r": 175,
    "g": 153,
    "b": 223
  },
  "hsl": {
    "h": 258.857,
    "s": 52.239,
    "l": 73.725
  },
  "oklch": {
    "l": 0.72805,
    "c": 0.10213,
    "h": 298.3
  },
  "luminance": 0.37224
}

Semantic roles & 50–950 ramp

primary
#AF99DF
secondary
#E9EFDC
accent
#C0268F
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AF99DF

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

Preview Lab → · Contrast checker → · Palette generator →

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