#AF99DB#AF99DB

#AF99DB is a light, moderate violet. Relative luminance 0.370; OKLCH L 72.6% C 0.097 H 299.3°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#AF99DB
RGBrgb(175, 153, 219)
HSLhsl(260, 48%, 73%)
HSVhsv(260, 30%, 86%)
CMYKcmyk(20.1%, 30.1%, 0%, 14.1%)
CIE-LABlab(67.29, 21.41, -30.60)
CIE-LCHlch(67.29, 37.35, 304.98°)
OKLaboklab(72.63% 0.0473 -0.0843)
OKLCHoklch(72.63% 0.097 299.3)
XYZxyz(41.8538, 37.0107, 71.9429)
Luminance0.3701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF99DB #C5DB99
analogous
#99A4DB #AF99DB #D099DB
triadic
#AF99DB #DBAF99 #99DBAF
tetradic
#AF99DB #DB99A4 #C5DB99 #99DBD0
square
#AF99DB #DB99A4 #C5DB99 #99DBD0
split-complementary
#AF99DB #DBD099 #A4DB99
monochromatic
#6941B8 #8C6CCB #AF99DB #D2C6EB #EDE8F7

Accessibility & contrast

On white

2.50
#AF99DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#AF99DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF99DB
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF99DB#FFFFFF#000000##000000
##AF99DB1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA4DE
Deuteranopia (green-blind)
#8EA3D9
Tritanopia (blue-blind)
#A7A3B1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #af99db;
/* rgb */ color: rgb(175, 153, 219);
/* oklch */ color: oklch(72.6% 0.097 299.3);
Tailwind
colors: {
  custom: {
    50: '#c7b7e6',
    500: '#af99db',
    950: '#000000',
  },
}
SCSS
$custom: #af99db;
$custom-light: #c7b7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#af99db",
  "rgb": {
    "r": 175,
    "g": 153,
    "b": 219
  },
  "hsl": {
    "h": 260,
    "s": 47.826,
    "l": 72.941
  },
  "oklch": {
    "l": 0.7263,
    "c": 0.09672,
    "h": 299.3
  },
  "luminance": 0.37011
}

Semantic roles & 50–950 ramp

primary
#AF99DB
secondary
#E8EEDD
accent
#BB2A8B
background
#FCFBFE
surface
#F8F6FC
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AF99DB

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

Preview Lab → · Contrast checker → · Palette generator →

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