#AF72CD#AF72CD

#AF72CD is a light, vivid purple. Relative luminance 0.256; OKLCH L 65.1% C 0.145 H 313.8°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#AF72CD
RGBrgb(175, 114, 205)
HSLhsl(280, 48%, 63%)
HSVhsv(280, 44%, 80%)
CMYKcmyk(14.6%, 44.4%, 0%, 19.6%)
CIE-LABlab(57.61, 40.10, -37.82)
CIE-LCHlch(57.61, 55.12, 316.68°)
OKLaboklab(65.1% 0.1005 -0.1048)
OKLCHoklch(65.1% 0.145 313.8)
XYZxyz(34.7142, 25.5572, 60.8501)
Luminance0.2556 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF72CD #90CD72
analogous
#8272CD #AF72CD #CD72BD
triadic
#AF72CD #CDAF72 #72CDAF
tetradic
#AF72CD #CD8272 #90CD72 #72BDCD
square
#AF72CD #CD8272 #90CD72 #72BDCD
split-complementary
#AF72CD #BDCD72 #72CD82
monochromatic
#723391 #9545BD #AF72CD #C99FDD #E2CCED

Accessibility & contrast

On white

3.44
#AF72CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#AF72CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF72CD
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF72CD#FFFFFF#000000##000000
##AF72CD1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6087D0
Deuteranopia (green-blind)
#708CCA
Tritanopia (blue-blind)
#AD7F96
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #af72cd;
/* rgb */ color: rgb(175, 114, 205);
/* oklch */ color: oklch(65.1% 0.145 313.8);
Tailwind
colors: {
  custom: {
    50: '#c89cdc',
    500: '#af72cd',
    950: '#000000',
  },
}
SCSS
$custom: #af72cd;
$custom-light: #c89cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#af72cd",
  "rgb": {
    "r": 175,
    "g": 114,
    "b": 205
  },
  "hsl": {
    "h": 280.22,
    "s": 47.644,
    "l": 62.549
  },
  "oklch": {
    "l": 0.651,
    "c": 0.14526,
    "h": 313.8
  },
  "luminance": 0.25556
}

Semantic roles & 50–950 ramp

primary
#AF72CD
secondary
#C8DEBD
accent
#BB2B5A
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AF72CD

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

Preview Lab → · Contrast checker → · Palette generator →

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