#AF7ABE#AF7ABE

#AF7ABE is a light, moderate purple. Relative luminance 0.268; OKLCH L 65.7% C 0.114 H 318.6°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#AF7ABE
RGBrgb(175, 122, 190)
HSLhsl(287, 34%, 61%)
HSVhsv(287, 36%, 75%)
CMYKcmyk(7.9%, 35.8%, 0%, 25.5%)
CIE-LABlab(58.74, 32.53, -27.54)
CIE-LCHlch(58.74, 42.62, 319.74°)
OKLaboklab(65.74% 0.0857 -0.0754)
OKLCHoklch(65.74% 0.114 318.6)
XYZxyz(33.9317, 26.7516, 52.0814)
Luminance0.2675 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7ABE #89BE7A
analogous
#8D7ABE #AF7ABE #BE7AAB
triadic
#AF7ABE #BEAF7A #7ABEAF
tetradic
#AF7ABE #BE8D7A #89BE7A #7AABBE
square
#AF7ABE #BE8D7A #89BE7A #7AABBE
split-complementary
#AF7ABE #ABBE7A #7ABE8D
monochromatic
#713E7F #9552A8 #AF7ABE #C8A3D2 #E0CCE6

Accessibility & contrast

On white

3.31
#AF7ABE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#AF7ABE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7ABE
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7ABE#FFFFFF#000000##000000
##AF7ABE1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#718AC1
Deuteranopia (green-blind)
#7E8FBC
Tritanopia (blue-blind)
#AF8293
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #af7abe;
/* rgb */ color: rgb(175, 122, 190);
/* oklch */ color: oklch(65.7% 0.114 318.6);
Tailwind
colors: {
  custom: {
    50: '#c8a1d1',
    500: '#af7abe',
    950: '#000000',
  },
}
SCSS
$custom: #af7abe;
$custom-light: #c8a1d1;
$custom-dark: #000000;
JSON
{
  "hex": "#af7abe",
  "rgb": {
    "r": 175,
    "g": 122,
    "b": 190
  },
  "hsl": {
    "h": 286.765,
    "s": 34.343,
    "l": 61.176
  },
  "oklch": {
    "l": 0.65736,
    "c": 0.11415,
    "h": 318.6
  },
  "luminance": 0.26751
}

Semantic roles & 50–950 ramp

primary
#AF7ABE
secondary
#C3D7BD
accent
#AD3852
background
#FCFAFC
surface
#F8F3F9
border
#D1CDD2
text
#130F14
muted
#827F82

Preview Lab

Preview with #AF7ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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