#AF2DA0#AF2DA0

#AF2DA0 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.1% C 0.206 H 333.2°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#AF2DA0
RGBrgb(175, 45, 160)
HSLhsl(307, 59%, 43%)
HSVhsv(307, 74%, 69%)
CMYKcmyk(0%, 74.3%, 8.6%, 31.4%)
CIE-LABlab(43.55, 63.51, -33.73)
CIE-LCHlch(43.55, 71.91, 332.02°)
OKLaboklab(54.06% 0.1835 -0.0926)
OKLCHoklch(54.06% 0.206 333.2)
XYZxyz(24.9629, 13.5309, 34.5479)
Luminance0.1353 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2DA0 #2DAF3C
analogous
#7D2DAF #AF2DA0 #AF2D5F
triadic
#AF2DA0 #A0AF2D #2DA0AF
tetradic
#AF2DA0 #AF7D2D #2DAF3C #2D5FAF
square
#AF2DA0 #AF7D2D #2DAF3C #2D5FAF
split-complementary
#AF2DA0 #5FAF2D #2DAF7D
monochromatic
#4E1447 #7E2073 #AF2DA0 #D049C1 #DD7AD1

Accessibility & contrast

On white

5.67
#AF2DA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#AF2DA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2DA0
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2DA0#FFFFFF#000000##FFFFFF
##AF2DA01.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285BA3
Deuteranopia (green-blind)
#596D9D
Tritanopia (blue-blind)
#B73A64
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af2da0;
/* rgb */ color: rgb(175, 45, 160);
/* oklch */ color: oklch(54.1% 0.206 333.2);
Tailwind
colors: {
  custom: {
    50: '#cb74bc',
    500: '#af2da0',
    950: '#000000',
  },
}
SCSS
$custom: #af2da0;
$custom-light: #cb74bc;
$custom-dark: #000000;
JSON
{
  "hex": "#af2da0",
  "rgb": {
    "r": 175,
    "g": 45,
    "b": 160
  },
  "hsl": {
    "h": 306.923,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54057,
    "c": 0.20552,
    "h": 333.2
  },
  "luminance": 0.13529
}

Semantic roles & 50–950 ramp

primary
#AF2DA0
secondary
#73C57C
accent
#E25846
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AF2DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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