#AF70AF#AF70AF

#AF70AF is a light, moderate purple. Relative luminance 0.238; OKLCH L 63.4% C 0.116 H 326.8°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#AF70AF
RGBrgb(175, 112, 175)
HSLhsl(300, 28%, 56%)
HSVhsv(300, 36%, 69%)
CMYKcmyk(0%, 36%, 0%, 31.4%)
CIE-LABlab(55.89, 35.10, -23.36)
CIE-LCHlch(55.89, 42.16, 326.36°)
OKLaboklab(63.38% 0.0972 -0.0635)
OKLCHoklch(63.38% 0.116 326.8)
XYZxyz(31.2106, 23.7987, 43.4987)
Luminance0.2380 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF70AF #70AF70
analogous
#9070AF #AF70AF #AF7090
triadic
#AF70AF #AFAF70 #70AFAF
tetradic
#AF70AF #AF9070 #70AF70 #7090AF
square
#AF70AF #AF9070 #70AF70 #7090AF
split-complementary
#AF70AF #90AF70 #70AF90
monochromatic
#6A3B6A #915191 #AF70AF #C597C5 #DBBEDB

Accessibility & contrast

On white

3.65
#AF70AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#AF70AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF70AF
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF70AF#FFFFFF#000000##000000
##AF70AF1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B81B1
Deuteranopia (green-blind)
#7B89AD
Tritanopia (blue-blind)
#B37688
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #af70af;
/* rgb */ color: rgb(175, 112, 175);
/* oklch */ color: oklch(63.4% 0.116 326.8);
Tailwind
colors: {
  custom: {
    50: '#c89ac7',
    500: '#af70af',
    950: '#000000',
  },
}
SCSS
$custom: #af70af;
$custom-light: #c89ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#af70af",
  "rgb": {
    "r": 175,
    "g": 112,
    "b": 175
  },
  "hsl": {
    "h": 300,
    "s": 28.251,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63378,
    "c": 0.11611,
    "h": 326.8
  },
  "luminance": 0.23797
}

Semantic roles & 50–950 ramp

primary
#AF70AF
secondary
#B0CAB0
accent
#C56363
background
#FCF9FC
surface
#F8F2F8
border
#D1CCD1
text
#130E13
muted
#827E82

Preview Lab

Preview with #AF70AF

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

Preview Lab → · Contrast checker → · Palette generator →

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