#AF72E6#AF72E6

#AF72E6 is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.4% C 0.174 H 306.5°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#AF72E6
RGBrgb(175, 114, 230)
HSLhsl(272, 70%, 67%)
HSVhsv(272, 50%, 90%)
CMYKcmyk(23.9%, 50.4%, 0%, 9.8%)
CIE-LABlab(58.85, 45.65, -49.93)
CIE-LCHlch(58.85, 67.66, 312.44°)
OKLaboklab(66.42% 0.1037 -0.14)
OKLCHoklch(66.42% 0.174 306.5)
XYZxyz(37.9765, 26.8621, 78.0318)
Luminance0.2686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF72E6 #A9E672
analogous
#7572E6 #AF72E6 #E672E3
triadic
#AF72E6 #E6AF72 #72E6AF
tetradic
#AF72E6 #E67572 #A9E672 #72E3E6
square
#AF72E6 #E67572 #A9E672 #72E3E6
split-complementary
#AF72E6 #E3E672 #72E675
monochromatic
#7321BC #923EDD #AF72E6 #CCA6EF #EADAF8

Accessibility & contrast

On white

3.30
#AF72E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#AF72E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF72E6
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF72E6#FFFFFF#000000##000000
##AF72E61.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#508BEA
Deuteranopia (green-blind)
#628EE3
Tritanopia (blue-blind)
#A686A1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #af72e6;
/* rgb */ color: rgb(175, 114, 230);
/* oklch */ color: oklch(66.4% 0.174 306.5);
Tailwind
colors: {
  custom: {
    50: '#c99cee',
    500: '#af72e6',
    950: '#000000',
  },
}
SCSS
$custom: #af72e6;
$custom-light: #c99cee;
$custom-dark: #000000;
JSON
{
  "hex": "#af72e6",
  "rgb": {
    "r": 175,
    "g": 114,
    "b": 230
  },
  "hsl": {
    "h": 271.552,
    "s": 69.88,
    "l": 67.451
  },
  "oklch": {
    "l": 0.6642,
    "c": 0.17426,
    "h": 306.5
  },
  "luminance": 0.26862
}

Semantic roles & 50–950 ramp

primary
#AF72E6
secondary
#D9ECC8
accent
#D2146E
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AF72E6

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

Preview Lab → · Contrast checker → · Palette generator →

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