#AF72FD#AF72FD

#AF72FD is a light, highly saturated violet. Relative luminance 0.282; OKLCH L 67.8% C 0.201 H 301.5°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#AF72FD
RGBrgb(175, 114, 253)
HSLhsl(266, 97%, 72%)
HSVhsv(266, 55%, 99%)
CMYKcmyk(30.8%, 54.9%, 0%, 0.8%)
CIE-LABlab(60.11, 51.04, -60.68)
CIE-LCHlch(60.11, 79.29, 310.07°)
OKLaboklab(67.76% 0.1051 -0.1715)
OKLCHoklch(67.76% 0.201 301.5)
XYZxyz(41.4220, 28.2403, 96.1781)
Luminance0.2824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF72FD #C0FD72
analogous
#727BFD #AF72FD #F572FD
triadic
#AF72FD #FDAF72 #72FDAF
tetradic
#AF72FD #FD727B #C0FD72 #72FDF5
square
#AF72FD #FD727B #C0FD72 #72FDF5
split-complementary
#AF72FD #FDF572 #7BFD72
monochromatic
#6C03F1 #8D36FC #AF72FD #D1AEFE #EEE1FF

Accessibility & contrast

On white

3.16
#AF72FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#AF72FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF72FD
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF72FD#FFFFFF#000000##000000
##AF72FD1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3990FF
Deuteranopia (green-blind)
#4F90FA
Tritanopia (blue-blind)
#A08DAD
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #af72fd;
/* rgb */ color: rgb(175, 114, 253);
/* oklch */ color: oklch(67.8% 0.201 301.5);
Tailwind
colors: {
  custom: {
    50: '#cb9cff',
    500: '#af72fd',
    950: '#000000',
  },
}
SCSS
$custom: #af72fd;
$custom-light: #cb9cff;
$custom-dark: #000000;
JSON
{
  "hex": "#af72fd",
  "rgb": {
    "r": 175,
    "g": 114,
    "b": 253
  },
  "hsl": {
    "h": 266.331,
    "s": 97.203,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67757,
    "c": 0.2011,
    "h": 301.5
  },
  "luminance": 0.2824
}

Semantic roles & 50–950 ramp

primary
#AF72FD
secondary
#E8F7D4
accent
#E60081
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AF72FD

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

Preview Lab → · Contrast checker → · Palette generator →

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