#AF8DBE#AF8DBE

#AF8DBE is a light, moderate purple. Relative luminance 0.319; OKLCH L 69.2% C 0.080 H 315.4°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#AF8DBE
RGBrgb(175, 141, 190)
HSLhsl(282, 27%, 65%)
HSVhsv(282, 26%, 75%)
CMYKcmyk(7.9%, 25.8%, 0%, 25.5%)
CIE-LABlab(63.25, 21.85, -20.63)
CIE-LCHlch(63.25, 30.05, 316.63°)
OKLaboklab(69.17% 0.0568 -0.0561)
OKLCHoklch(69.17% 0.08 315.4)
XYZxyz(36.4969, 31.8820, 52.9364)
Luminance0.3188 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8DBE #9CBE8D
analogous
#978DBE #AF8DBE #BE8DB4
triadic
#AF8DBE #BEAF8D #8DBEAF
tetradic
#AF8DBE #BE978D #9CBE8D #8DB4BE
square
#AF8DBE #BE978D #9CBE8D #8DB4BE
split-complementary
#AF8DBE #B4BE8D #8DBE97
monochromatic
#734C85 #9466A8 #AF8DBE #CAB4D4 #E6DBEA

Accessibility & contrast

On white

2.85
#AF8DBE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#AF8DBE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF8DBE
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8DBE#FFFFFF#000000##000000
##AF8DBE1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8697C0
Deuteranopia (green-blind)
#8E9ABC
Tritanopia (blue-blind)
#AE939E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #af8dbe;
/* rgb */ color: rgb(175, 141, 190);
/* oklch */ color: oklch(69.2% 0.080 315.4);
Tailwind
colors: {
  custom: {
    50: '#c7aed1',
    500: '#af8dbe',
    950: '#000000',
  },
}
SCSS
$custom: #af8dbe;
$custom-light: #c7aed1;
$custom-dark: #000000;
JSON
{
  "hex": "#af8dbe",
  "rgb": {
    "r": 175,
    "g": 141,
    "b": 190
  },
  "hsl": {
    "h": 281.633,
    "s": 27.374,
    "l": 64.902
  },
  "oklch": {
    "l": 0.69167,
    "c": 0.07981,
    "h": 315.4
  },
  "luminance": 0.31881
}

Semantic roles & 50–950 ramp

primary
#AF8DBE
secondary
#D0DCCB
accent
#A6405F
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#131014
muted
#827F82

Preview Lab

Preview with #AF8DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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