#AF70AB#AF70AB

#AF70AB is a light, moderate purple. Relative luminance 0.236; OKLCH L 63.2% C 0.112 H 329.0°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#AF70AB
RGBrgb(175, 112, 171)
HSLhsl(304, 28%, 56%)
HSVhsv(304, 36%, 69%)
CMYKcmyk(0%, 36%, 2.3%, 31.4%)
CIE-LABlab(55.73, 34.34, -21.29)
CIE-LCHlch(55.73, 40.40, 328.20°)
OKLaboklab(63.21% 0.0962 -0.0577)
OKLCHoklch(63.21% 0.112 329)
XYZxyz(30.8235, 23.6439, 41.4603)
Luminance0.2364 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF70AB #70AF74
analogous
#9470AF #AF70AB #AF708C
triadic
#AF70AB #ABAF70 #70ABAF
tetradic
#AF70AB #AF9470 #70AF74 #708CAF
square
#AF70AB #AF9470 #70AF74 #708CAF
split-complementary
#AF70AB #8CAF70 #70AF94
monochromatic
#6A3B67 #91518D #AF70AB #C597C2 #DBBED9

Accessibility & contrast

On white

3.67
#AF70AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#AF70AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF70AB
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF70AB#FFFFFF#000000##000000
##AF70AB1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D80AD
Deuteranopia (green-blind)
#7D89A9
Tritanopia (blue-blind)
#B37586
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #af70ab;
/* rgb */ color: rgb(175, 112, 171);
/* oklch */ color: oklch(63.2% 0.112 329.0);
Tailwind
colors: {
  custom: {
    50: '#c89ac4',
    500: '#af70ab',
    950: '#000000',
  },
}
SCSS
$custom: #af70ab;
$custom-light: #c89ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#af70ab",
  "rgb": {
    "r": 175,
    "g": 112,
    "b": 171
  },
  "hsl": {
    "h": 303.81,
    "s": 28.251,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63209,
    "c": 0.11214,
    "h": 329
  },
  "luminance": 0.23643
}

Semantic roles & 50–950 ramp

primary
#AF70AB
secondary
#B0CAB2
accent
#C56963
background
#FCF9FC
surface
#F8F2F8
border
#D1CCD1
text
#130E12
muted
#827E81

Preview Lab

Preview with #AF70AB

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

Preview Lab → · Contrast checker → · Palette generator →

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