#AF72FF#AF72FF

#AF72FF is a light, highly saturated violet. Relative luminance 0.284; OKLCH L 67.9% C 0.203 H 301.1°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#AF72FF
RGBrgb(175, 114, 255)
HSLhsl(266, 100%, 72%)
HSVhsv(266, 55%, 100%)
CMYKcmyk(31.4%, 55.3%, 0%, 0%)
CIE-LABlab(60.22, 51.52, -61.60)
CIE-LCHlch(60.22, 80.31, 309.91°)
OKLaboklab(67.88% 0.1051 -0.1742)
OKLCHoklch(67.88% 0.203 301.1)
XYZxyz(41.7423, 28.3684, 97.8649)
Luminance0.2837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF72FF #C2FF72
analogous
#727CFF #AF72FF #F572FF
triadic
#AF72FF #FFAF72 #72FFAF
tetradic
#AF72FF #FF727C #C2FF72 #72FFF5
square
#AF72FF #FF727C #C2FF72 #72FFF5
split-complementary
#AF72FF #FFF572 #7CFF72
monochromatic
#6B00F7 #8C35FF #AF72FF #D2AFFF #EEE0FF

Accessibility & contrast

On white

3.15
#AF72FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#AF72FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF72FF
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF72FF#FFFFFF#000000##000000
##AF72FF1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3690FF
Deuteranopia (green-blind)
#4D90FC
Tritanopia (blue-blind)
#9F8EAE
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #af72ff;
/* rgb */ color: rgb(175, 114, 255);
/* oklch */ color: oklch(67.9% 0.203 301.1);
Tailwind
colors: {
  custom: {
    50: '#cb9cff',
    500: '#af72ff',
    950: '#000000',
  },
}
SCSS
$custom: #af72ff;
$custom-light: #cb9cff;
$custom-dark: #000000;
JSON
{
  "hex": "#af72ff",
  "rgb": {
    "r": 175,
    "g": 114,
    "b": 255
  },
  "hsl": {
    "h": 265.957,
    "s": 100,
    "l": 72.353
  },
  "oklch": {
    "l": 0.67878,
    "c": 0.20342,
    "h": 301.1
  },
  "luminance": 0.28369
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF72FF

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

Preview Lab → · Contrast checker → · Palette generator →

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