#AF4DB6#AF4DB6

#AF4DB6 is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.6% C 0.182 H 324.9°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#AF4DB6
RGBrgb(175, 77, 182)
HSLhsl(296, 42%, 51%)
HSVhsv(296, 58%, 71%)
CMYKcmyk(3.8%, 57.7%, 0%, 28.6%)
CIE-LABlab(49.25, 54.47, -37.75)
CIE-LCHlch(49.25, 66.27, 325.28°)
OKLaboklab(58.55% 0.1487 -0.1044)
OKLCHoklch(58.55% 0.182 324.9)
XYZxyz(28.7759, 17.8007, 46.1671)
Luminance0.1780 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4DB6 #54B64D
analogous
#7A4DB6 #AF4DB6 #B64D88
triadic
#AF4DB6 #B6AF4D #4DB6AF
tetradic
#AF4DB6 #B67A4D #54B64D #4D88B6
square
#AF4DB6 #B67A4D #54B64D #4D88B6
split-complementary
#AF4DB6 #88B64D #4DB67A
monochromatic
#5D2861 #873A8C #AF4DB6 #C378C8 #D6A4DA

Accessibility & contrast

On white

4.61
#AF4DB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#AF4DB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4DB6
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4DB6#FFFFFF#000000##FFFFFF
##AF4DB61.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6DB9
Deuteranopia (green-blind)
#5F79B3
Tritanopia (blue-blind)
#B35B7A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #af4db6;
/* rgb */ color: rgb(175, 77, 182);
/* oklch */ color: oklch(58.6% 0.182 324.9);
Tailwind
colors: {
  custom: {
    50: '#c984cc',
    500: '#af4db6',
    950: '#000000',
  },
}
SCSS
$custom: #af4db6;
$custom-light: #c984cc;
$custom-dark: #000000;
JSON
{
  "hex": "#af4db6",
  "rgb": {
    "r": 175,
    "g": 77,
    "b": 182
  },
  "hsl": {
    "h": 296,
    "s": 41.833,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58553,
    "c": 0.18171,
    "h": 324.9
  },
  "luminance": 0.17799
}

Semantic roles & 50–950 ramp

primary
#AF4DB6
secondary
#9BC798
accent
#D2565E
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B13
muted
#827C82

Preview Lab

Preview with #AF4DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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