#AF72DB#AF72DB

#AF72DB is a light, vivid violet. Relative luminance 0.263; OKLCH L 65.8% C 0.161 H 309.4°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#AF72DB
RGBrgb(175, 114, 219)
HSLhsl(275, 59%, 65%)
HSVhsv(275, 48%, 86%)
CMYKcmyk(20.1%, 47.9%, 0%, 14.1%)
CIE-LABlab(58.29, 43.17, -44.66)
CIE-LCHlch(58.29, 62.11, 314.03°)
OKLaboklab(65.82% 0.1026 -0.1247)
OKLCHoklch(65.82% 0.161 309.4)
XYZxyz(36.4803, 26.2636, 70.1517)
Luminance0.2626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF72DB #9EDB72
analogous
#7A72DB #AF72DB #DB72D3
triadic
#AF72DB #DBAF72 #72DBAF
tetradic
#AF72DB #DB7A72 #9EDB72 #72D3DB
square
#AF72DB #DB7A72 #9EDB72 #72D3DB
split-complementary
#AF72DB #D3DB72 #72DB7A
monochromatic
#732BA8 #9341CF #AF72DB #CBA3E7 #E6D4F4

Accessibility & contrast

On white

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

On black

6.25
#AF72DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF72DB
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF72DB#FFFFFF#000000##000000
##AF72DB1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5889DF
Deuteranopia (green-blind)
#698DD8
Tritanopia (blue-blind)
#A9839C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #af72db;
/* rgb */ color: rgb(175, 114, 219);
/* oklch */ color: oklch(65.8% 0.161 309.4);
Tailwind
colors: {
  custom: {
    50: '#c99ce6',
    500: '#af72db',
    950: '#000000',
  },
}
SCSS
$custom: #af72db;
$custom-light: #c99ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#af72db",
  "rgb": {
    "r": 175,
    "g": 114,
    "b": 219
  },
  "hsl": {
    "h": 274.857,
    "s": 59.322,
    "l": 65.294
  },
  "oklch": {
    "l": 0.65821,
    "c": 0.16143,
    "h": 309.4
  },
  "luminance": 0.26263
}

Semantic roles & 50–950 ramp

primary
#AF72DB
secondary
#D2E6C3
accent
#C71F65
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AF72DB

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

Preview Lab → · Contrast checker → · Palette generator →

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