#AF2DAE#AF2DAE

#AF2DAE is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.8% C 0.216 H 328.4°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#AF2DAE
RGBrgb(175, 45, 174)
HSLhsl(300, 59%, 43%)
HSVhsv(300, 74%, 69%)
CMYKcmyk(0%, 74.3%, 0.6%, 31.4%)
CIE-LABlab(44.30, 65.72, -40.88)
CIE-LCHlch(44.30, 77.39, 328.12°)
OKLaboklab(54.84% 0.1839 -0.1132)
OKLCHoklch(54.84% 0.216 328.4)
XYZxyz(26.2573, 14.0487, 41.3649)
Luminance0.1405 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2DAE #2DAF2E
analogous
#6F2DAF #AF2DAE #AF2D6D
triadic
#AF2DAE #AEAF2D #2DAEAF
tetradic
#AF2DAE #AF6F2D #2DAF2E #2D6DAF
square
#AF2DAE #AF6F2D #2DAF2E #2D6DAF
split-complementary
#AF2DAE #6DAF2D #2DAF6F
monochromatic
#4E144D #7E207E #AF2DAE #D049CF #DD7ADC

Accessibility & contrast

On white

5.51
#AF2DAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#AF2DAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2DAE
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2DAE#FFFFFF#000000##FFFFFF
##AF2DAE1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125EB1
Deuteranopia (green-blind)
#526FAB
Tritanopia (blue-blind)
#B5416C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af2dae;
/* rgb */ color: rgb(175, 45, 174);
/* oklch */ color: oklch(54.8% 0.216 328.4);
Tailwind
colors: {
  custom: {
    50: '#cb74c7',
    500: '#af2dae',
    950: '#000000',
  },
}
SCSS
$custom: #af2dae;
$custom-light: #cb74c7;
$custom-dark: #000000;
JSON
{
  "hex": "#af2dae",
  "rgb": {
    "r": 175,
    "g": 45,
    "b": 174
  },
  "hsl": {
    "h": 300.462,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54837,
    "c": 0.21593,
    "h": 328.4
  },
  "luminance": 0.14047
}

Semantic roles & 50–950 ramp

primary
#AF2DAE
secondary
#73C574
accent
#E24746
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AF2DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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