#AF91BF#AF91BF

#AF91BF is a light, moderate violet. Relative luminance 0.331; OKLCH L 70.0% C 0.074 H 313.7°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#AF91BF
RGBrgb(175, 145, 191)
HSLhsl(279, 26%, 66%)
HSVhsv(279, 24%, 75%)
CMYKcmyk(8.4%, 24.1%, 0%, 25.1%)
CIE-LABlab(64.26, 19.80, -19.64)
CIE-LCHlch(64.26, 27.89, 315.22°)
OKLaboklab(69.96% 0.051 -0.0533)
OKLCHoklch(69.96% 0.074 313.7)
XYZxyz(37.2071, 33.1268, 53.7142)
Luminance0.3313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF91BF #A1BF91
analogous
#9891BF #AF91BF #BF91B8
triadic
#AF91BF #BFAF91 #91BFAF
tetradic
#AF91BF #BF9891 #A1BF91 #91B8BF
square
#AF91BF #BF9891 #A1BF91 #91B8BF
split-complementary
#AF91BF #B8BF91 #91BF98
monochromatic
#734F87 #936AA8 #AF91BF #CBB8D6 #E7DEEC

Accessibility & contrast

On white

2.75
#AF91BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#AF91BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF91BF
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF91BF#FFFFFF#000000##000000
##AF91BF1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B9AC1
Deuteranopia (green-blind)
#919DBD
Tritanopia (blue-blind)
#AE96A1
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #af91bf;
/* rgb */ color: rgb(175, 145, 191);
/* oklch */ color: oklch(70.0% 0.074 313.7);
Tailwind
colors: {
  custom: {
    50: '#c7b1d2',
    500: '#af91bf',
    950: '#000000',
  },
}
SCSS
$custom: #af91bf;
$custom-light: #c7b1d2;
$custom-dark: #000000;
JSON
{
  "hex": "#af91bf",
  "rgb": {
    "r": 175,
    "g": 145,
    "b": 191
  },
  "hsl": {
    "h": 279.13,
    "s": 26.437,
    "l": 65.882
  },
  "oklch": {
    "l": 0.69961,
    "c": 0.07381,
    "h": 313.7
  },
  "luminance": 0.33126
}

Semantic roles & 50–950 ramp

primary
#AF91BF
secondary
#D4DECE
accent
#A54063
background
#FCFAFC
surface
#F8F5F9
border
#D1CFD2
text
#131014
muted
#827F82

Preview Lab

Preview with #AF91BF

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

Preview Lab → · Contrast checker → · Palette generator →

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