#AF8ABA#AF8ABA

#AF8ABA is a light, moderate purple. Relative luminance 0.308; OKLCH L 68.4% C 0.080 H 318.4°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#AF8ABA
RGBrgb(175, 138, 186)
HSLhsl(286, 26%, 64%)
HSVhsv(286, 26%, 73%)
CMYKcmyk(5.9%, 25.8%, 0%, 27.1%)
CIE-LABlab(62.37, 22.72, -19.71)
CIE-LCHlch(62.37, 30.08, 319.05°)
OKLaboklab(68.45% 0.0602 -0.0535)
OKLCHoklch(68.45% 0.08 318.4)
XYZxyz(35.6293, 30.8368, 50.5200)
Luminance0.3084 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8ABA #95BA8A
analogous
#978ABA #AF8ABA #BA8AAD
triadic
#AF8ABA #BAAF8A #8ABAAF
tetradic
#AF8ABA #BA978A #95BA8A #8AADBA
square
#AF8ABA #BA978A #95BA8A #8AADBA
split-complementary
#AF8ABA #ADBA8A #8ABA97
monochromatic
#734B7F #9564A3 #AF8ABA #C9B0D1 #E4D7E7

Accessibility & contrast

On white

2.93
#AF8ABA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#AF8ABA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF8ABA
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8ABA#FFFFFF#000000##000000
##AF8ABA1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8494BC
Deuteranopia (green-blind)
#8C98B8
Tritanopia (blue-blind)
#AF8F9B
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #af8aba;
/* rgb */ color: rgb(175, 138, 186);
/* oklch */ color: oklch(68.4% 0.080 318.4);
Tailwind
colors: {
  custom: {
    50: '#c7acce',
    500: '#af8aba',
    950: '#000000',
  },
}
SCSS
$custom: #af8aba;
$custom-light: #c7acce;
$custom-dark: #000000;
JSON
{
  "hex": "#af8aba",
  "rgb": {
    "r": 175,
    "g": 138,
    "b": 186
  },
  "hsl": {
    "h": 286.25,
    "s": 25.806,
    "l": 63.529
  },
  "oklch": {
    "l": 0.68448,
    "c": 0.08049,
    "h": 318.4
  },
  "luminance": 0.30836
}

Semantic roles & 50–950 ramp

primary
#AF8ABA
secondary
#CBD8C7
accent
#A44158
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#131013
muted
#827F82

Preview Lab

Preview with #AF8ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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