#AF2DAA#AF2DAA

#AF2DAA is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.6% C 0.213 H 329.7°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#AF2DAA
RGBrgb(175, 45, 170)
HSLhsl(302, 59%, 43%)
HSVhsv(302, 74%, 69%)
CMYKcmyk(0%, 74.3%, 2.9%, 31.4%)
CIE-LABlab(44.08, 65.07, -38.86)
CIE-LCHlch(44.08, 75.79, 329.16°)
OKLaboklab(54.61% 0.1838 -0.1074)
OKLCHoklch(54.61% 0.213 329.7)
XYZxyz(25.8731, 13.8950, 39.3417)
Luminance0.1389 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2DAA #2DAF32
analogous
#732DAF #AF2DAA #AF2D69
triadic
#AF2DAA #AAAF2D #2DAAAF
tetradic
#AF2DAA #AF732D #2DAF32 #2D69AF
square
#AF2DAA #AF732D #2DAF32 #2D69AF
split-complementary
#AF2DAA #69AF2D #2DAF73
monochromatic
#4E144B #7E207B #AF2DAA #D049CB #DD7AD9

Accessibility & contrast

On white

5.56
#AF2DAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#AF2DAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2DAA
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2DAA#FFFFFF#000000##FFFFFF
##AF2DAA1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5DAD
Deuteranopia (green-blind)
#546EA7
Tritanopia (blue-blind)
#B53F69
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af2daa;
/* rgb */ color: rgb(175, 45, 170);
/* oklch */ color: oklch(54.6% 0.213 329.7);
Tailwind
colors: {
  custom: {
    50: '#cb74c4',
    500: '#af2daa',
    950: '#000000',
  },
}
SCSS
$custom: #af2daa;
$custom-light: #cb74c4;
$custom-dark: #000000;
JSON
{
  "hex": "#af2daa",
  "rgb": {
    "r": 175,
    "g": 45,
    "b": 170
  },
  "hsl": {
    "h": 302.308,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54608,
    "c": 0.2129,
    "h": 329.7
  },
  "luminance": 0.13893
}

Semantic roles & 50–950 ramp

primary
#AF2DAA
secondary
#73C576
accent
#E24C46
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140912
muted
#827B81

Preview Lab

Preview with #AF2DAA

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

Preview Lab → · Contrast checker → · Palette generator →

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