#AF99DD#AF99DD

#AF99DD is a light, moderate violet. Relative luminance 0.371; OKLCH L 72.7% C 0.099 H 298.8°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#AF99DD
RGBrgb(175, 153, 221)
HSLhsl(259, 50%, 73%)
HSVhsv(259, 31%, 87%)
CMYKcmyk(20.8%, 30.8%, 0%, 13.3%)
CIE-LABlab(67.36, 21.87, -31.58)
CIE-LCHlch(67.36, 38.41, 304.70°)
OKLaboklab(72.72% 0.0478 -0.0871)
OKLCHoklch(72.72% 0.099 298.8)
XYZxyz(42.1187, 37.1167, 73.3379)
Luminance0.3712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF99DD #C7DD99
analogous
#99A5DD #AF99DD #D199DD
triadic
#AF99DD #DDAF99 #99DDAF
tetradic
#AF99DD #DD99A5 #C7DD99 #99DDD1
square
#AF99DD #DD99A5 #C7DD99 #99DDD1
split-complementary
#AF99DD #DDD199 #A5DD99
monochromatic
#683FBD #8B6BCE #AF99DD #D3C7EC #EDE8F7

Accessibility & contrast

On white

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

On black

8.42
#AF99DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF99DD
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF99DD#FFFFFF#000000##000000
##AF99DD1.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA4E0
Deuteranopia (green-blind)
#8DA3DB
Tritanopia (blue-blind)
#A7A4B1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #af99dd;
/* rgb */ color: rgb(175, 153, 221);
/* oklch */ color: oklch(72.7% 0.099 298.8);
Tailwind
colors: {
  custom: {
    50: '#c8b7e7',
    500: '#af99dd',
    950: '#000000',
  },
}
SCSS
$custom: #af99dd;
$custom-light: #c8b7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#af99dd",
  "rgb": {
    "r": 175,
    "g": 153,
    "b": 221
  },
  "hsl": {
    "h": 259.412,
    "s": 50,
    "l": 73.333
  },
  "oklch": {
    "l": 0.72717,
    "c": 0.09942,
    "h": 298.8
  },
  "luminance": 0.37117
}

Semantic roles & 50–950 ramp

primary
#AF99DD
secondary
#E9EEDD
accent
#BD288D
background
#FCFBFE
surface
#F8F6FC
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AF99DD

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

Preview Lab → · Contrast checker → · Palette generator →

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