#AF91CB#AF91CB

#AF91CB is a light, moderate violet. Relative luminance 0.337; OKLCH L 70.4% C 0.089 H 307.8°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#AF91CB
RGBrgb(175, 145, 203)
HSLhsl(271, 36%, 68%)
HSVhsv(271, 29%, 80%)
CMYKcmyk(13.8%, 28.6%, 0%, 20.4%)
CIE-LABlab(64.71, 22.35, -25.69)
CIE-LCHlch(64.71, 34.05, 311.02°)
OKLaboklab(70.45% 0.0546 -0.0703)
OKLCHoklch(70.45% 0.089 307.8)
XYZxyz(38.5821, 33.6768, 60.9561)
Luminance0.3368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF91CB #ADCB91
analogous
#9291CB #AF91CB #CB91CA
triadic
#AF91CB #CBAF91 #91CBAF
tetradic
#AF91CB #CB9291 #ADCB91 #91CACB
square
#AF91CB #CB9291 #ADCB91 #91CACB
split-complementary
#AF91CB #CACB91 #91CB92
monochromatic
#724899 #9167B7 #AF91CB #CDBBDF #EBE4F2

Accessibility & contrast

On white

2.71
#AF91CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#AF91CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF91CB
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF91CB#FFFFFF#000000##000000
##AF91CB1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#879CCD
Deuteranopia (green-blind)
#8D9DC9
Tritanopia (blue-blind)
#AB99A6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #af91cb;
/* rgb */ color: rgb(175, 145, 203);
/* oklch */ color: oklch(70.4% 0.089 307.8);
Tailwind
colors: {
  custom: {
    50: '#c7b1db',
    500: '#af91cb',
    950: '#000000',
  },
}
SCSS
$custom: #af91cb;
$custom-light: #c7b1db;
$custom-dark: #000000;
JSON
{
  "hex": "#af91cb",
  "rgb": {
    "r": 175,
    "g": 145,
    "b": 203
  },
  "hsl": {
    "h": 271.034,
    "s": 35.802,
    "l": 68.235
  },
  "oklch": {
    "l": 0.70446,
    "c": 0.08904,
    "h": 307.8
  },
  "luminance": 0.33677
}

Semantic roles & 50–950 ramp

primary
#AF91CB
secondary
#DCE5D3
accent
#AF3771
background
#FCFAFD
surface
#F8F5FB
border
#D1CFD4
text
#131015
muted
#827F83

Preview Lab

Preview with #AF91CB

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

Preview Lab → · Contrast checker → · Palette generator →

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