#AF6EA7#AF6EA7

#AF6EA7 is a light, moderate purple. Relative luminance 0.231; OKLCH L 62.7% C 0.112 H 331.3°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#AF6EA7
RGBrgb(175, 110, 167)
HSLhsl(307, 29%, 56%)
HSVhsv(307, 37%, 69%)
CMYKcmyk(0%, 37.1%, 4.6%, 31.4%)
CIE-LABlab(55.13, 34.70, -19.89)
CIE-LCHlch(55.13, 40.00, 330.18°)
OKLaboklab(62.71% 0.0982 -0.0537)
OKLCHoklch(62.71% 0.112 331.3)
XYZxyz(30.2298, 23.0573, 39.4099)
Luminance0.2306 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6EA7 #6EAF76
analogous
#966EAF #AF6EA7 #AF6E86
triadic
#AF6EA7 #A7AF6E #6EA7AF
tetradic
#AF6EA7 #AF966E #6EAF76 #6E86AF
square
#AF6EA7 #AF966E #6EAF76 #6E86AF
split-complementary
#AF6EA7 #86AF6E #6EAF96
monochromatic
#693A63 #905088 #AF6EA7 #C595BF #DBBDD7

Accessibility & contrast

On white

3.74
#AF6EA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#AF6EA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6EA7
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6EA7#FFFFFF#000000##000000
##AF6EA71.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7EA9
Deuteranopia (green-blind)
#7D87A5
Tritanopia (blue-blind)
#B47283
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #af6ea7;
/* rgb */ color: rgb(175, 110, 167);
/* oklch */ color: oklch(62.7% 0.112 331.3);
Tailwind
colors: {
  custom: {
    50: '#c899c1',
    500: '#af6ea7',
    950: '#000000',
  },
}
SCSS
$custom: #af6ea7;
$custom-light: #c899c1;
$custom-dark: #000000;
JSON
{
  "hex": "#af6ea7",
  "rgb": {
    "r": 175,
    "g": 110,
    "b": 167
  },
  "hsl": {
    "h": 307.385,
    "s": 28.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.62707,
    "c": 0.11195,
    "h": 331.3
  },
  "luminance": 0.23056
}

Semantic roles & 50–950 ramp

primary
#AF6EA7
secondary
#AFCAB2
accent
#C56F63
background
#FCF9FB
surface
#F8F2F7
border
#D1CCD0
text
#130E12
muted
#827E81

Preview Lab

Preview with #AF6EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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