#AF6FA7#AF6FA7

#AF6FA7 is a light, moderate purple. Relative luminance 0.233; OKLCH L 62.9% C 0.110 H 331.3°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#AF6FA7
RGBrgb(175, 111, 167)
HSLhsl(308, 29%, 56%)
HSVhsv(308, 37%, 69%)
CMYKcmyk(0%, 36.6%, 4.6%, 31.4%)
CIE-LABlab(55.35, 34.15, -19.55)
CIE-LCHlch(55.35, 39.35, 330.21°)
OKLaboklab(62.88% 0.0966 -0.0528)
OKLCHoklch(62.88% 0.11 331.3)
XYZxyz(30.3383, 23.2743, 39.4461)
Luminance0.2327 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF6FA7 #6FAF77
analogous
#976FAF #AF6FA7 #AF6F87
triadic
#AF6FA7 #A7AF6F #6FA7AF
tetradic
#AF6FA7 #AF976F #6FAF77 #6F87AF
square
#AF6FA7 #AF976F #6FAF77 #6F87AF
split-complementary
#AF6FA7 #87AF6F #6FAF97
monochromatic
#693A63 #915088 #AF6FA7 #C596BF #DBBED7

Accessibility & contrast

On white

3.71
#AF6FA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#AF6FA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF6FA7
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF6FA7#FFFFFF#000000##000000
##AF6FA71.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7FA9
Deuteranopia (green-blind)
#7D88A5
Tritanopia (blue-blind)
#B47384
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #af6fa7;
/* rgb */ color: rgb(175, 111, 167);
/* oklch */ color: oklch(62.9% 0.110 331.3);
Tailwind
colors: {
  custom: {
    50: '#c899c1',
    500: '#af6fa7',
    950: '#000000',
  },
}
SCSS
$custom: #af6fa7;
$custom-light: #c899c1;
$custom-dark: #000000;
JSON
{
  "hex": "#af6fa7",
  "rgb": {
    "r": 175,
    "g": 111,
    "b": 167
  },
  "hsl": {
    "h": 307.5,
    "s": 28.571,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62875,
    "c": 0.11011,
    "h": 331.3
  },
  "luminance": 0.23273
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF6FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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