#AF72CF#AF72CF

#AF72CF is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.2% C 0.148 H 313.1°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#AF72CF
RGBrgb(175, 114, 207)
HSLhsl(279, 49%, 63%)
HSVhsv(279, 45%, 81%)
CMYKcmyk(15.5%, 44.9%, 0%, 18.8%)
CIE-LABlab(57.71, 40.53, -38.80)
CIE-LCHlch(57.71, 56.11, 316.25°)
OKLaboklab(65.2% 0.1009 -0.1077)
OKLCHoklch(65.2% 0.148 313.1)
XYZxyz(34.9571, 25.6543, 62.1297)
Luminance0.2565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF72CF #92CF72
analogous
#8072CF #AF72CF #CF72C0
triadic
#AF72CF #CFAF72 #72CFAF
tetradic
#AF72CF #CF8072 #92CF72 #72C0CF
square
#AF72CF #CF8072 #92CF72 #72C0CF
split-complementary
#AF72CF #C0CF72 #72CF80
monochromatic
#733294 #9544BF #AF72CF #C9A0DF #E3CDEE

Accessibility & contrast

On white

3.43
#AF72CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#AF72CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF72CF
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF72CF#FFFFFF#000000##000000
##AF72CF1.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F87D2
Deuteranopia (green-blind)
#6F8CCC
Tritanopia (blue-blind)
#AC8097
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #af72cf;
/* rgb */ color: rgb(175, 114, 207);
/* oklch */ color: oklch(65.2% 0.148 313.1);
Tailwind
colors: {
  custom: {
    50: '#c89cde',
    500: '#af72cf',
    950: '#000000',
  },
}
SCSS
$custom: #af72cf;
$custom-light: #c89cde;
$custom-dark: #000000;
JSON
{
  "hex": "#af72cf",
  "rgb": {
    "r": 175,
    "g": 114,
    "b": 207
  },
  "hsl": {
    "h": 279.355,
    "s": 49.206,
    "l": 62.941
  },
  "oklch": {
    "l": 0.652,
    "c": 0.14755,
    "h": 313.1
  },
  "luminance": 0.25654
}

Semantic roles & 50–950 ramp

primary
#AF72CF
secondary
#C9DFBE
accent
#BD295C
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AF72CF

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

Preview Lab → · Contrast checker → · Palette generator →

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