#AF2AAE#AF2AAE

#AF2AAE is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.6% C 0.219 H 328.4°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#AF2AAE
RGBrgb(175, 42, 174)
HSLhsl(300, 61%, 43%)
HSVhsv(300, 76%, 69%)
CMYKcmyk(0%, 76%, 0.6%, 31.4%)
CIE-LABlab(43.98, 66.63, -41.39)
CIE-LCHlch(43.98, 78.44, 328.15°)
OKLaboklab(54.61% 0.1864 -0.1147)
OKLCHoklch(54.61% 0.219 328.4)
XYZxyz(26.1469, 13.8278, 41.3281)
Luminance0.1383 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2AAE #2AAF2B
analogous
#6D2AAF #AF2AAE #AF2A6C
triadic
#AF2AAE #AEAF2A #2AAEAF
tetradic
#AF2AAE #AF6D2A #2AAF2B #2A6CAF
square
#AF2AAE #AF6D2A #2AAF2B #2A6CAF
split-complementary
#AF2AAE #6CAF2A #2AAF6D
monochromatic
#4C124C #7E1E7D #AF2AAE #D244D1 #DE75DD

Accessibility & contrast

On white

5.58
#AF2AAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#AF2AAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2AAE
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2AAE#FFFFFF#000000##FFFFFF
##AF2AAE1.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A5DB2
Deuteranopia (green-blind)
#506EAB
Tritanopia (blue-blind)
#B53F6B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af2aae;
/* rgb */ color: rgb(175, 42, 174);
/* oklch */ color: oklch(54.6% 0.219 328.4);
Tailwind
colors: {
  custom: {
    50: '#cb73c7',
    500: '#af2aae',
    950: '#000000',
  },
}
SCSS
$custom: #af2aae;
$custom-light: #cb73c7;
$custom-dark: #000000;
JSON
{
  "hex": "#af2aae",
  "rgb": {
    "r": 175,
    "g": 42,
    "b": 174
  },
  "hsl": {
    "h": 300.451,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.54611,
    "c": 0.21888,
    "h": 328.4
  },
  "luminance": 0.13826
}

Semantic roles & 50–950 ramp

primary
#AF2AAE
secondary
#6FC670
accent
#E44543
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AF2AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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