#AF2FAE#AF2FAE

#AF2FAE is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.0% C 0.214 H 328.3°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#AF2FAE
RGBrgb(175, 47, 174)
HSLhsl(300, 58%, 44%)
HSVhsv(300, 73%, 69%)
CMYKcmyk(0%, 73.1%, 0.6%, 31.4%)
CIE-LABlab(44.53, 65.08, -40.53)
CIE-LCHlch(44.53, 76.67, 328.09°)
OKLaboklab(55% 0.182 -0.1122)
OKLCHoklch(55% 0.214 328.3)
XYZxyz(26.3354, 14.2049, 41.3909)
Luminance0.1420 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2FAE #2FAF30
analogous
#702FAF #AF2FAE #AF2F6E
triadic
#AF2FAE #AEAF2F #2FAEAF
tetradic
#AF2FAE #AF702F #2FAF30 #2F6EAF
square
#AF2FAE #AF702F #2FAF30 #2F6EAF
split-complementary
#AF2FAE #6EAF2F #2FAF70
monochromatic
#4F154E #7F227E #AF2FAE #CF4CCE #DC7CDB

Accessibility & contrast

On white

5.47
#AF2FAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#AF2FAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2FAE
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2FAE#FFFFFF#000000##FFFFFF
##AF2FAE1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175FB1
Deuteranopia (green-blind)
#536FAB
Tritanopia (blue-blind)
#B5436C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af2fae;
/* rgb */ color: rgb(175, 47, 174);
/* oklch */ color: oklch(55.0% 0.214 328.3);
Tailwind
colors: {
  custom: {
    50: '#cb75c7',
    500: '#af2fae',
    950: '#000000',
  },
}
SCSS
$custom: #af2fae;
$custom-light: #cb75c7;
$custom-dark: #000000;
JSON
{
  "hex": "#af2fae",
  "rgb": {
    "r": 175,
    "g": 47,
    "b": 174
  },
  "hsl": {
    "h": 300.469,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54997,
    "c": 0.21385,
    "h": 328.3
  },
  "luminance": 0.14203
}

Semantic roles & 50–950 ramp

primary
#AF2FAE
secondary
#75C476
accent
#E14847
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AF2FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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