#AF8FBB#AF8FBB

#AF8FBB is a light, moderate purple. Relative luminance 0.323; OKLCH L 69.4% C 0.073 H 316.7°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#AF8FBB
RGBrgb(175, 143, 187)
HSLhsl(284, 24%, 65%)
HSVhsv(284, 24%, 73%)
CMYKcmyk(6.4%, 23.5%, 0%, 26.7%)
CIE-LABlab(63.63, 20.10, -18.36)
CIE-LCHlch(63.63, 27.23, 317.59°)
OKLaboklab(69.43% 0.0528 -0.0497)
OKLCHoklch(69.43% 0.073 316.7)
XYZxyz(36.4700, 32.3473, 51.3265)
Luminance0.3235 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8FBB #9BBB8F
analogous
#998FBB #AF8FBB #BB8FB1
triadic
#AF8FBB #BBAF8F #8FBBAF
tetradic
#AF8FBB #BB998F #9BBB8F #8FB1BB
square
#AF8FBB #BB998F #9BBB8F #8FB1BB
split-complementary
#AF8FBB #B1BB8F #8FBB99
monochromatic
#734E81 #9469A4 #AF8FBB #CAB5D2 #E5DBE9

Accessibility & contrast

On white

2.81
#AF8FBB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#AF8FBB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF8FBB
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8FBB#FFFFFF#000000##000000
##AF8FBB1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A98BD
Deuteranopia (green-blind)
#909BBA
Tritanopia (blue-blind)
#AF949E
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #af8fbb;
/* rgb */ color: rgb(175, 143, 187);
/* oklch */ color: oklch(69.4% 0.073 316.7);
Tailwind
colors: {
  custom: {
    50: '#c7b0cf',
    500: '#af8fbb',
    950: '#000000',
  },
}
SCSS
$custom: #af8fbb;
$custom-light: #c7b0cf;
$custom-dark: #000000;
JSON
{
  "hex": "#af8fbb",
  "rgb": {
    "r": 175,
    "g": 143,
    "b": 187
  },
  "hsl": {
    "h": 283.636,
    "s": 24.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.69427,
    "c": 0.07255,
    "h": 316.7
  },
  "luminance": 0.32347
}

Semantic roles & 50–950 ramp

primary
#AF8FBB
secondary
#CFDACB
accent
#A3435D
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#131013
muted
#827F82

Preview Lab

Preview with #AF8FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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