#AF96CB#AF96CB

#AF96CB is a light, moderate violet. Relative luminance 0.352; OKLCH L 71.4% C 0.080 H 305.9°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#AF96CB
RGBrgb(175, 150, 203)
HSLhsl(268, 34%, 69%)
HSVhsv(268, 26%, 80%)
CMYKcmyk(13.8%, 26.1%, 0%, 20.4%)
CIE-LABlab(65.93, 19.53, -23.80)
CIE-LCHlch(65.93, 30.79, 309.37°)
OKLaboklab(71.39% 0.0472 -0.0651)
OKLCHoklch(71.39% 0.08 305.9)
XYZxyz(39.3630, 35.2386, 61.2164)
Luminance0.3524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF96CB #B2CB96
analogous
#9698CB #AF96CB #CA96CB
triadic
#AF96CB #CBAF96 #96CBAF
tetradic
#AF96CB #CB9698 #B2CB96 #96CBCA
square
#AF96CB #CB9698 #B2CB96 #96CBCA
split-complementary
#AF96CB #CBCA96 #98CB96
monochromatic
#714C9A #906DB7 #AF96CB #CEBFDF #EDE8F4

Accessibility & contrast

On white

2.61
#AF96CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#AF96CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF96CB
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF96CB#FFFFFF#000000##000000
##AF96CB1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C9FCD
Deuteranopia (green-blind)
#91A0C9
Tritanopia (blue-blind)
#AB9DA9
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #af96cb;
/* rgb */ color: rgb(175, 150, 203);
/* oklch */ color: oklch(71.4% 0.080 305.9);
Tailwind
colors: {
  custom: {
    50: '#c7b5db',
    500: '#af96cb',
    950: '#000000',
  },
}
SCSS
$custom: #af96cb;
$custom-light: #c7b5db;
$custom-dark: #000000;
JSON
{
  "hex": "#af96cb",
  "rgb": {
    "r": 175,
    "g": 150,
    "b": 203
  },
  "hsl": {
    "h": 268.302,
    "s": 33.758,
    "l": 69.216
  },
  "oklch": {
    "l": 0.7139,
    "c": 0.08037,
    "h": 305.9
  },
  "luminance": 0.35238
}

Semantic roles & 50–950 ramp

primary
#AF96CB
secondary
#DFE6D7
accent
#AD3976
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131115
muted
#828083

Preview Lab

Preview with #AF96CB

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

Preview Lab → · Contrast checker → · Palette generator →

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