#AF92BF#AF92BF

#AF92BF is a light, moderate violet. Relative luminance 0.334; OKLCH L 70.2% C 0.072 H 313.4°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#AF92BF
RGBrgb(175, 146, 191)
HSLhsl(279, 26%, 66%)
HSVhsv(279, 24%, 75%)
CMYKcmyk(8.4%, 23.6%, 0%, 25.1%)
CIE-LABlab(64.51, 19.24, -19.27)
CIE-LCHlch(64.51, 27.23, 314.95°)
OKLaboklab(70.15% 0.0495 -0.0523)
OKLCHoklch(70.15% 0.072 313.4)
XYZxyz(37.3605, 33.4338, 53.7653)
Luminance0.3343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF92BF #A2BF92
analogous
#9892BF #AF92BF #BF92B8
triadic
#AF92BF #BFAF92 #92BFAF
tetradic
#AF92BF #BF9892 #A2BF92 #92B8BF
square
#AF92BF #BF9892 #A2BF92 #92B8BF
split-complementary
#AF92BF #B8BF92 #92BF98
monochromatic
#734F87 #936BA8 #AF92BF #CBB9D6 #E8DFEC

Accessibility & contrast

On white

2.73
#AF92BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#AF92BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF92BF
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF92BF#FFFFFF#000000##000000
##AF92BF1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C9BC1
Deuteranopia (green-blind)
#929DBE
Tritanopia (blue-blind)
#AE97A2
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #af92bf;
/* rgb */ color: rgb(175, 146, 191);
/* oklch */ color: oklch(70.2% 0.072 313.4);
Tailwind
colors: {
  custom: {
    50: '#c7b2d2',
    500: '#af92bf',
    950: '#000000',
  },
}
SCSS
$custom: #af92bf;
$custom-light: #c7b2d2;
$custom-dark: #000000;
JSON
{
  "hex": "#af92bf",
  "rgb": {
    "r": 175,
    "g": 146,
    "b": 191
  },
  "hsl": {
    "h": 278.667,
    "s": 26.012,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70152,
    "c": 0.07201,
    "h": 313.4
  },
  "luminance": 0.33433
}

Semantic roles & 50–950 ramp

primary
#AF92BF
secondary
#D4DECF
accent
#A54164
background
#FCFAFC
surface
#F8F5F9
border
#D1CFD2
text
#131114
muted
#828082

Preview Lab

Preview with #AF92BF

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

Preview Lab → · Contrast checker → · Palette generator →

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