#AF8ABC#AF8ABC

#AF8ABC is a light, moderate purple. Relative luminance 0.309; OKLCH L 68.5% C 0.083 H 317.2°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#AF8ABC
RGBrgb(175, 138, 188)
HSLhsl(284, 27%, 64%)
HSVhsv(284, 27%, 74%)
CMYKcmyk(6.9%, 26.6%, 0%, 26.3%)
CIE-LABlab(62.44, 23.13, -20.73)
CIE-LCHlch(62.44, 31.06, 318.12°)
OKLaboklab(68.53% 0.0608 -0.0563)
OKLCHoklch(68.53% 0.083 317.2)
XYZxyz(35.8434, 30.9224, 51.6476)
Luminance0.3092 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8ABC #97BC8A
analogous
#968ABC #AF8ABC #BC8AB0
triadic
#AF8ABC #BCAF8A #8ABCAF
tetradic
#AF8ABC #BC968A #97BC8A #8AB0BC
square
#AF8ABC #BC968A #97BC8A #8AB0BC
split-complementary
#AF8ABC #B0BC8A #8ABC96
monochromatic
#734A81 #9463A6 #AF8ABC #CAB1D2 #E4D8E9

Accessibility & contrast

On white

2.92
#AF8ABC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#AF8ABC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF8ABC
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8ABC#FFFFFF#000000##000000
##AF8ABC1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8495BE
Deuteranopia (green-blind)
#8C98BA
Tritanopia (blue-blind)
#AF909C
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #af8abc;
/* rgb */ color: rgb(175, 138, 188);
/* oklch */ color: oklch(68.5% 0.083 317.2);
Tailwind
colors: {
  custom: {
    50: '#c7acd0',
    500: '#af8abc',
    950: '#000000',
  },
}
SCSS
$custom: #af8abc;
$custom-light: #c7acd0;
$custom-dark: #000000;
JSON
{
  "hex": "#af8abc",
  "rgb": {
    "r": 175,
    "g": 138,
    "b": 188
  },
  "hsl": {
    "h": 284.4,
    "s": 27.174,
    "l": 63.922
  },
  "oklch": {
    "l": 0.68527,
    "c": 0.08285,
    "h": 317.2
  },
  "luminance": 0.30922
}

Semantic roles & 50–950 ramp

primary
#AF8ABC
secondary
#CDDAC8
accent
#A6405A
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#131014
muted
#827F82

Preview Lab

Preview with #AF8ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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