#AF72F3#AF72F3

#AF72F3 is a light, vivid violet. Relative luminance 0.276; OKLCH L 67.2% C 0.189 H 303.5°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#AF72F3
RGBrgb(175, 114, 243)
HSLhsl(268, 84%, 70%)
HSVhsv(268, 53%, 95%)
CMYKcmyk(28%, 53.1%, 0%, 4.7%)
CIE-LABlab(59.54, 48.67, -56.05)
CIE-LCHlch(59.54, 74.24, 310.97°)
OKLaboklab(67.16% 0.1047 -0.1579)
OKLCHoklch(67.16% 0.189 303.5)
XYZxyz(39.8706, 27.6197, 88.0073)
Luminance0.2762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF72F3 #B6F372
analogous
#7276F3 #AF72F3 #EF72F3
triadic
#AF72F3 #F3AF72 #72F3AF
tetradic
#AF72F3 #F37276 #B6F372 #72F3EF
square
#AF72F3 #F37276 #B6F372 #72F3EF
split-complementary
#AF72F3 #F3EF72 #76F372
monochromatic
#7012D8 #8F3AEE #AF72F3 #CFAAF8 #EFE3FD

Accessibility & contrast

On white

3.22
#AF72F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#AF72F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF72F3
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF72F3#FFFFFF#000000##000000
##AF72F31.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#458EF7
Deuteranopia (green-blind)
#588FF0
Tritanopia (blue-blind)
#A38AA8
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #af72f3;
/* rgb */ color: rgb(175, 114, 243);
/* oklch */ color: oklch(67.2% 0.189 303.5);
Tailwind
colors: {
  custom: {
    50: '#ca9cf8',
    500: '#af72f3',
    950: '#000000',
  },
}
SCSS
$custom: #af72f3;
$custom-light: #ca9cf8;
$custom-dark: #000000;
JSON
{
  "hex": "#af72f3",
  "rgb": {
    "r": 175,
    "g": 114,
    "b": 243
  },
  "hsl": {
    "h": 268.372,
    "s": 84.314,
    "l": 70
  },
  "oklch": {
    "l": 0.67161,
    "c": 0.18944,
    "h": 303.5
  },
  "luminance": 0.2762
}

Semantic roles & 50–950 ramp

primary
#AF72F3
secondary
#E1F2CE
accent
#E10579
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #AF72F3

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

Preview Lab → · Contrast checker → · Palette generator →

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