#AF71CD#AF71CD

#AF71CD is a light, vivid purple. Relative luminance 0.253; OKLCH L 64.9% C 0.147 H 313.9°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#AF71CD
RGBrgb(175, 113, 205)
HSLhsl(280, 48%, 62%)
HSVhsv(280, 45%, 80%)
CMYKcmyk(14.6%, 44.9%, 0%, 19.6%)
CIE-LABlab(57.40, 40.65, -38.16)
CIE-LCHlch(57.40, 55.75, 316.81°)
OKLaboklab(64.94% 0.102 -0.1058)
OKLCHoklch(64.94% 0.147 313.9)
XYZxyz(34.6020, 25.3328, 60.8127)
Luminance0.2533 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF71CD #8FCD71
analogous
#8171CD #AF71CD #CD71BD
triadic
#AF71CD #CDAF71 #71CDAF
tetradic
#AF71CD #CD8171 #8FCD71 #71BDCD
square
#AF71CD #CD8171 #8FCD71 #71BDCD
split-complementary
#AF71CD #BDCD71 #71CD81
monochromatic
#723391 #9644BD #AF71CD #C99EDD #E2CCED

Accessibility & contrast

On white

3.46
#AF71CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#AF71CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF71CD
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF71CD#FFFFFF#000000##000000
##AF71CD1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F86D0
Deuteranopia (green-blind)
#6F8BCA
Tritanopia (blue-blind)
#AD7E95
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #af71cd;
/* rgb */ color: rgb(175, 113, 205);
/* oklch */ color: oklch(64.9% 0.147 313.9);
Tailwind
colors: {
  custom: {
    50: '#c89bdc',
    500: '#af71cd',
    950: '#000000',
  },
}
SCSS
$custom: #af71cd;
$custom-light: #c89bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#af71cd",
  "rgb": {
    "r": 175,
    "g": 113,
    "b": 205
  },
  "hsl": {
    "h": 280.435,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.64939,
    "c": 0.14695,
    "h": 313.9
  },
  "luminance": 0.25332
}

Semantic roles & 50–950 ramp

primary
#AF71CD
secondary
#C7DEBC
accent
#BB2A5A
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AF71CD

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

Preview Lab → · Contrast checker → · Palette generator →

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