#AF72FA#AF72FA

#AF72FA is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.6% C 0.198 H 302.1°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#AF72FA
RGBrgb(175, 114, 250)
HSLhsl(267, 93%, 71%)
HSVhsv(267, 54%, 98%)
CMYKcmyk(30%, 54.4%, 0%, 2%)
CIE-LABlab(59.93, 50.33, -59.30)
CIE-LCHlch(59.93, 77.78, 310.32°)
OKLaboklab(67.58% 0.105 -0.1674)
OKLCHoklch(67.58% 0.198 302.1)
XYZxyz(40.9479, 28.0506, 93.6810)
Luminance0.2805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF72FA #BDFA72
analogous
#7279FA #AF72FA #F372FA
triadic
#AF72FA #FAAF72 #72FAAF
tetradic
#AF72FA #FA7279 #BDFA72 #72FAF3
square
#AF72FA #FA7279 #BDFA72 #72FAF3
split-complementary
#AF72FA #FAF372 #79FA72
monochromatic
#6D08E9 #8D37F8 #AF72FA #D1ADFC #EEE1FE

Accessibility & contrast

On white

3.18
#AF72FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#AF72FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF72FA
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF72FA#FFFFFF#000000##000000
##AF72FA1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8FFF
Deuteranopia (green-blind)
#5290F7
Tritanopia (blue-blind)
#A18CAB
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #af72fa;
/* rgb */ color: rgb(175, 114, 250);
/* oklch */ color: oklch(67.6% 0.198 302.1);
Tailwind
colors: {
  custom: {
    50: '#ca9cfd',
    500: '#af72fa',
    950: '#000000',
  },
}
SCSS
$custom: #af72fa;
$custom-light: #ca9cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#af72fa",
  "rgb": {
    "r": 175,
    "g": 114,
    "b": 250
  },
  "hsl": {
    "h": 266.912,
    "s": 93.151,
    "l": 71.373
  },
  "oklch": {
    "l": 0.67576,
    "c": 0.19761,
    "h": 302.1
  },
  "luminance": 0.28051
}

Semantic roles & 50–950 ramp

primary
#AF72FA
secondary
#E6F6D2
accent
#E6007F
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AF72FA

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

Preview Lab → · Contrast checker → · Palette generator →

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