#AF72DA#AF72DA

#AF72DA is a light, vivid violet. Relative luminance 0.262; OKLCH L 65.8% C 0.160 H 309.7°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#AF72DA
RGBrgb(175, 114, 218)
HSLhsl(275, 58%, 65%)
HSVhsv(275, 48%, 85%)
CMYKcmyk(19.7%, 47.7%, 0%, 14.5%)
CIE-LABlab(58.24, 42.94, -44.17)
CIE-LCHlch(58.24, 61.61, 314.19°)
OKLaboklab(65.77% 0.1024 -0.1233)
OKLCHoklch(65.77% 0.16 309.7)
XYZxyz(36.3490, 26.2111, 69.4605)
Luminance0.2621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF72DA #9DDA72
analogous
#7B72DA #AF72DA #DA72D1
triadic
#AF72DA #DAAF72 #72DAAF
tetradic
#AF72DA #DA7B72 #9DDA72 #72D1DA
square
#AF72DA #DA7B72 #9DDA72 #72D1DA
split-complementary
#AF72DA #D1DA72 #72DA7B
monochromatic
#732CA6 #9342CD #AF72DA #CBA2E7 #E6D3F3

Accessibility & contrast

On white

3.36
#AF72DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#AF72DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF72DA
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF72DA#FFFFFF#000000##000000
##AF72DA1.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5989DE
Deuteranopia (green-blind)
#698DD7
Tritanopia (blue-blind)
#AA839C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #af72da;
/* rgb */ color: rgb(175, 114, 218);
/* oklch */ color: oklch(65.8% 0.160 309.7);
Tailwind
colors: {
  custom: {
    50: '#c99ce6',
    500: '#af72da',
    950: '#000000',
  },
}
SCSS
$custom: #af72da;
$custom-light: #c99ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#af72da",
  "rgb": {
    "r": 175,
    "g": 114,
    "b": 218
  },
  "hsl": {
    "h": 275.192,
    "s": 58.427,
    "l": 65.098
  },
  "oklch": {
    "l": 0.65768,
    "c": 0.16027,
    "h": 309.7
  },
  "luminance": 0.26211
}

Semantic roles & 50–950 ramp

primary
#AF72DA
secondary
#D1E6C2
accent
#C61F64
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AF72DA

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

Preview Lab → · Contrast checker → · Palette generator →

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