#AF8BBD#AF8BBD

#AF8BBD is a light, moderate purple. Relative luminance 0.313; OKLCH L 68.8% C 0.082 H 316.4°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#AF8BBD
RGBrgb(175, 139, 189)
HSLhsl(283, 27%, 64%)
HSVhsv(283, 26%, 74%)
CMYKcmyk(7.4%, 26.5%, 0%, 25.9%)
CIE-LABlab(62.72, 22.77, -20.87)
CIE-LCHlch(62.72, 30.89, 317.49°)
OKLaboklab(68.75% 0.0595 -0.0567)
OKLCHoklch(68.75% 0.082 316.4)
XYZxyz(36.0957, 31.2539, 52.2654)
Luminance0.3125 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8BBD #99BD8B
analogous
#968BBD #AF8BBD #BD8BB2
triadic
#AF8BBD #BDAF8B #8BBDAF
tetradic
#AF8BBD #BD968B #99BD8B #8BB2BD
square
#AF8BBD #BD968B #99BD8B #8BB2BD
split-complementary
#AF8BBD #B2BD8B #8BBD96
monochromatic
#734B83 #9464A7 #AF8BBD #CAB2D3 #E5D9E9

Accessibility & contrast

On white

2.90
#AF8BBD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#AF8BBD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF8BBD
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8BBD#FFFFFF#000000##000000
##AF8BBD1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8595BF
Deuteranopia (green-blind)
#8C99BB
Tritanopia (blue-blind)
#AF919D
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #af8bbd;
/* rgb */ color: rgb(175, 139, 189);
/* oklch */ color: oklch(68.8% 0.082 316.4);
Tailwind
colors: {
  custom: {
    50: '#c7add1',
    500: '#af8bbd',
    950: '#000000',
  },
}
SCSS
$custom: #af8bbd;
$custom-light: #c7add1;
$custom-dark: #000000;
JSON
{
  "hex": "#af8bbd",
  "rgb": {
    "r": 175,
    "g": 139,
    "b": 189
  },
  "hsl": {
    "h": 283.2,
    "s": 27.473,
    "l": 64.314
  },
  "oklch": {
    "l": 0.68753,
    "c": 0.08224,
    "h": 316.4
  },
  "luminance": 0.31253
}

Semantic roles & 50–950 ramp

primary
#AF8BBD
secondary
#CEDBC9
accent
#A63F5C
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#131014
muted
#827F82

Preview Lab

Preview with #AF8BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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