#AF72CE#AF72CE

#AF72CE is a light, vivid violet. Relative luminance 0.256; OKLCH L 65.1% C 0.146 H 313.5°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#AF72CE
RGBrgb(175, 114, 206)
HSLhsl(280, 48%, 63%)
HSVhsv(280, 45%, 81%)
CMYKcmyk(15%, 44.7%, 0%, 19.2%)
CIE-LABlab(57.66, 40.32, -38.31)
CIE-LCHlch(57.66, 55.62, 316.46°)
OKLaboklab(65.15% 0.1007 -0.1063)
OKLCHoklch(65.15% 0.146 313.5)
XYZxyz(34.8352, 25.6056, 61.4879)
Luminance0.2560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF72CE #91CE72
analogous
#8172CE #AF72CE #CE72BF
triadic
#AF72CE #CEAF72 #72CEAF
tetradic
#AF72CE #CE8172 #91CE72 #72BFCE
square
#AF72CE #CE8172 #91CE72 #72BFCE
split-complementary
#AF72CE #BFCE72 #72CE81
monochromatic
#723393 #9545BE #AF72CE #C99FDE #E3CDEE

Accessibility & contrast

On white

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

On black

6.12
#AF72CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF72CE
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF72CE#FFFFFF#000000##000000
##AF72CE1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6087D1
Deuteranopia (green-blind)
#708CCB
Tritanopia (blue-blind)
#AC8096
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #af72ce;
/* rgb */ color: rgb(175, 114, 206);
/* oklch */ color: oklch(65.1% 0.146 313.5);
Tailwind
colors: {
  custom: {
    50: '#c89cdd',
    500: '#af72ce',
    950: '#000000',
  },
}
SCSS
$custom: #af72ce;
$custom-light: #c89cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#af72ce",
  "rgb": {
    "r": 175,
    "g": 114,
    "b": 206
  },
  "hsl": {
    "h": 279.783,
    "s": 48.421,
    "l": 62.745
  },
  "oklch": {
    "l": 0.6515,
    "c": 0.14641,
    "h": 313.5
  },
  "luminance": 0.25605
}

Semantic roles & 50–950 ramp

primary
#AF72CE
secondary
#C8DFBD
accent
#BC2A5B
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AF72CE

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

Preview Lab → · Contrast checker → · Palette generator →

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