#AF2DA3#AF2DA3

#AF2DA3 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.2% C 0.208 H 332.2°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#AF2DA3
RGBrgb(175, 45, 163)
HSLhsl(306, 59%, 43%)
HSVhsv(306, 74%, 69%)
CMYKcmyk(0%, 74.3%, 6.9%, 31.4%)
CIE-LABlab(43.71, 63.97, -35.28)
CIE-LCHlch(43.71, 73.06, 331.12°)
OKLaboklab(54.22% 0.1837 -0.097)
OKLCHoklch(54.22% 0.208 332.2)
XYZxyz(25.2285, 13.6372, 35.9467)
Luminance0.1363 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2DA3 #2DAF39
analogous
#7A2DAF #AF2DA3 #AF2D62
triadic
#AF2DA3 #A3AF2D #2DA3AF
tetradic
#AF2DA3 #AF7A2D #2DAF39 #2D62AF
square
#AF2DA3 #AF7A2D #2DAF39 #2D62AF
split-complementary
#AF2DA3 #62AF2D #2DAF7A
monochromatic
#4E1448 #7E2076 #AF2DA3 #D049C4 #DD7AD4

Accessibility & contrast

On white

5.63
#AF2DA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#AF2DA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2DA3
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2DA3#FFFFFF#000000##FFFFFF
##AF2DA31.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245CA6
Deuteranopia (green-blind)
#586EA0
Tritanopia (blue-blind)
#B73C65
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af2da3;
/* rgb */ color: rgb(175, 45, 163);
/* oklch */ color: oklch(54.2% 0.208 332.2);
Tailwind
colors: {
  custom: {
    50: '#cb74be',
    500: '#af2da3',
    950: '#000000',
  },
}
SCSS
$custom: #af2da3;
$custom-light: #cb74be;
$custom-dark: #000000;
JSON
{
  "hex": "#af2da3",
  "rgb": {
    "r": 175,
    "g": 45,
    "b": 163
  },
  "hsl": {
    "h": 305.538,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54219,
    "c": 0.20771,
    "h": 332.2
  },
  "luminance": 0.13635
}

Semantic roles & 50–950 ramp

primary
#AF2DA3
secondary
#73C57A
accent
#E25446
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AF2DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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