#AF72CC#AF72CC

#AF72CC is a light, vivid purple. Relative luminance 0.255; OKLCH L 65.1% C 0.144 H 314.1°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#AF72CC
RGBrgb(175, 114, 204)
HSLhsl(281, 47%, 62%)
HSVhsv(281, 44%, 80%)
CMYKcmyk(14.2%, 44.1%, 0%, 20%)
CIE-LABlab(57.57, 39.89, -37.32)
CIE-LCHlch(57.57, 54.63, 316.90°)
OKLaboklab(65.05% 0.1004 -0.1034)
OKLCHoklch(65.05% 0.144 314.1)
XYZxyz(34.5938, 25.5090, 60.2164)
Luminance0.2551 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF72CC #8FCC72
analogous
#8272CC #AF72CC #CC72BC
triadic
#AF72CC #CCAF72 #72CCAF
tetradic
#AF72CC #CC8272 #8FCC72 #72BCCC
square
#AF72CC #CC8272 #8FCC72 #72BCCC
split-complementary
#AF72CC #BCCC72 #72CC82
monochromatic
#723490 #9645BC #AF72CC #C99FDC #E2CCED

Accessibility & contrast

On white

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

On black

6.10
#AF72CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF72CC
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF72CC#FFFFFF#000000##000000
##AF72CC1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6187CF
Deuteranopia (green-blind)
#718CC9
Tritanopia (blue-blind)
#AD7F95
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #af72cc;
/* rgb */ color: rgb(175, 114, 204);
/* oklch */ color: oklch(65.1% 0.144 314.1);
Tailwind
colors: {
  custom: {
    50: '#c89cdc',
    500: '#af72cc',
    950: '#000000',
  },
}
SCSS
$custom: #af72cc;
$custom-light: #c89cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#af72cc",
  "rgb": {
    "r": 175,
    "g": 114,
    "b": 204
  },
  "hsl": {
    "h": 280.667,
    "s": 46.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.65051,
    "c": 0.14411,
    "h": 314.1
  },
  "luminance": 0.25508
}

Semantic roles & 50–950 ramp

primary
#AF72CC
secondary
#C7DDBC
accent
#BA2B59
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AF72CC

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

Preview Lab → · Contrast checker → · Palette generator →

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