#AF72DD#AF72DD

#AF72DD is a light, vivid violet. Relative luminance 0.264; OKLCH L 65.9% C 0.164 H 308.9°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#AF72DD
RGBrgb(175, 114, 221)
HSLhsl(274, 61%, 66%)
HSVhsv(274, 48%, 87%)
CMYKcmyk(20.8%, 48.4%, 0%, 13.3%)
CIE-LABlab(58.39, 43.61, -45.62)
CIE-LCHlch(58.39, 63.12, 313.71°)
OKLaboklab(65.93% 0.1028 -0.1275)
OKLCHoklch(65.93% 0.164 308.9)
XYZxyz(36.7452, 26.3696, 71.5467)
Luminance0.2637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF72DD #A0DD72
analogous
#7972DD #AF72DD #DD72D5
triadic
#AF72DD #DDAF72 #72DDAF
tetradic
#AF72DD #DD7972 #A0DD72 #72D5DD
square
#AF72DD #DD7972 #A0DD72 #72D5DD
split-complementary
#AF72DD #D5DD72 #72DD79
monochromatic
#7329AB #9341D1 #AF72DD #CBA3E9 #E7D5F5

Accessibility & contrast

On white

3.35
#AF72DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#AF72DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF72DD
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF72DD#FFFFFF#000000##000000
##AF72DD1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#578AE1
Deuteranopia (green-blind)
#688DDA
Tritanopia (blue-blind)
#A9849D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #af72dd;
/* rgb */ color: rgb(175, 114, 221);
/* oklch */ color: oklch(65.9% 0.164 308.9);
Tailwind
colors: {
  custom: {
    50: '#c99ce8',
    500: '#af72dd',
    950: '#000000',
  },
}
SCSS
$custom: #af72dd;
$custom-light: #c99ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#af72dd",
  "rgb": {
    "r": 175,
    "g": 114,
    "b": 221
  },
  "hsl": {
    "h": 274.206,
    "s": 61.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.65928,
    "c": 0.16376,
    "h": 308.9
  },
  "luminance": 0.26369
}

Semantic roles & 50–950 ramp

primary
#AF72DD
secondary
#D3E7C4
accent
#C91D67
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AF72DD

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

Preview Lab → · Contrast checker → · Palette generator →

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