#AF96BC#AF96BC

#AF96BC is a light, moderate violet. Relative luminance 0.346; OKLCH L 70.8% C 0.061 H 314.1°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#AF96BC
RGBrgb(175, 150, 188)
HSLhsl(279, 22%, 66%)
HSVhsv(279, 20%, 74%)
CMYKcmyk(6.9%, 20.2%, 0%, 26.3%)
CIE-LABlab(65.40, 16.37, -16.23)
CIE-LCHlch(65.40, 23.05, 315.24°)
OKLaboklab(70.8% 0.0425 -0.0439)
OKLCHoklch(70.8% 0.061 314.1)
XYZxyz(37.6612, 34.5579, 52.2535)
Luminance0.3456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF96BC #A3BC96
analogous
#9C96BC #AF96BC #BC96B6
triadic
#AF96BC #BCAF96 #96BCAF
tetradic
#AF96BC #BC9C96 #A3BC96 #96B6BC
square
#AF96BC #BC9C96 #A3BC96 #96B6BC
split-complementary
#AF96BC #B6BC96 #96BC9C
monochromatic
#735484 #9371A4 #AF96BC #CBBBD4 #E8E1EC

Accessibility & contrast

On white

2.65
#AF96BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#AF96BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF96BC
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF96BC#FFFFFF#000000##000000
##AF96BC1.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#919DBE
Deuteranopia (green-blind)
#969FBB
Tritanopia (blue-blind)
#AE9AA3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #af96bc;
/* rgb */ color: rgb(175, 150, 188);
/* oklch */ color: oklch(70.8% 0.061 314.1);
Tailwind
colors: {
  custom: {
    50: '#c7b5d0',
    500: '#af96bc',
    950: '#000000',
  },
}
SCSS
$custom: #af96bc;
$custom-light: #c7b5d0;
$custom-dark: #000000;
JSON
{
  "hex": "#af96bc",
  "rgb": {
    "r": 175,
    "g": 150,
    "b": 188
  },
  "hsl": {
    "h": 279.474,
    "s": 22.093,
    "l": 66.275
  },
  "oklch": {
    "l": 0.70805,
    "c": 0.06106,
    "h": 314.1
  },
  "luminance": 0.34557
}

Semantic roles & 50–950 ramp

primary
#AF96BC
secondary
#D5DDD1
accent
#A14564
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#131114
muted
#828082

Preview Lab

Preview with #AF96BC

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

Preview Lab → · Contrast checker → · Palette generator →

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