#AF8FBF#AF8FBF

#AF8FBF is a light, moderate purple. Relative luminance 0.325; OKLCH L 69.6% C 0.077 H 314.3°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#AF8FBF
RGBrgb(175, 143, 191)
HSLhsl(280, 27%, 65%)
HSVhsv(280, 25%, 75%)
CMYKcmyk(8.4%, 25.1%, 0%, 25.1%)
CIE-LABlab(63.77, 20.93, -20.39)
CIE-LCHlch(63.77, 29.22, 315.74°)
OKLaboklab(69.58% 0.0541 -0.0554)
OKLCHoklch(69.58% 0.077 314.3)
XYZxyz(36.9041, 32.5210, 53.6132)
Luminance0.3252 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8FBF #9FBF8F
analogous
#978FBF #AF8FBF #BF8FB7
triadic
#AF8FBF #BFAF8F #8FBFAF
tetradic
#AF8FBF #BF978F #9FBF8F #8FB7BF
square
#AF8FBF #BF978F #9FBF8F #8FB7BF
split-complementary
#AF8FBF #B7BF8F #8FBF97
monochromatic
#734D87 #9368A9 #AF8FBF #CBB6D5 #E7DDEC

Accessibility & contrast

On white

2.80
#AF8FBF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#AF8FBF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF8FBF
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8FBF#FFFFFF#000000##000000
##AF8FBF1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8899C1
Deuteranopia (green-blind)
#8F9BBD
Tritanopia (blue-blind)
#AE95A0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #af8fbf;
/* rgb */ color: rgb(175, 143, 191);
/* oklch */ color: oklch(69.6% 0.077 314.3);
Tailwind
colors: {
  custom: {
    50: '#c7b0d2',
    500: '#af8fbf',
    950: '#000000',
  },
}
SCSS
$custom: #af8fbf;
$custom-light: #c7b0d2;
$custom-dark: #000000;
JSON
{
  "hex": "#af8fbf",
  "rgb": {
    "r": 175,
    "g": 143,
    "b": 191
  },
  "hsl": {
    "h": 280,
    "s": 27.273,
    "l": 65.49
  },
  "oklch": {
    "l": 0.69583,
    "c": 0.07742,
    "h": 314.3
  },
  "luminance": 0.3252
}

Semantic roles & 50–950 ramp

primary
#AF8FBF
secondary
#D2DDCD
accent
#A64062
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#131014
muted
#827F82

Preview Lab

Preview with #AF8FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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