#AF34AE#AF34AE

#AF34AE is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.4% C 0.208 H 328.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#AF34AE
RGBrgb(175, 52, 174)
HSLhsl(300, 54%, 45%)
HSVhsv(300, 70%, 69%)
CMYKcmyk(0%, 70.3%, 0.6%, 31.4%)
CIE-LABlab(45.12, 63.39, -39.58)
CIE-LCHlch(45.12, 74.73, 328.02°)
OKLaboklab(55.42% 0.1772 -0.1095)
OKLCHoklch(55.42% 0.208 328.3)
XYZxyz(26.5469, 14.6278, 41.4614)
Luminance0.1463 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF34AE #34AF35
analogous
#7334AF #AF34AE #AF3471
triadic
#AF34AE #AEAF34 #34AEAF
tetradic
#AF34AE #AF7334 #34AF35 #3471AF
square
#AF34AE #AF7334 #34AF35 #3471AF
split-complementary
#AF34AE #71AF34 #34AF73
monochromatic
#511850 #80267F #AF34AE #CC54CB #DA83DA

Accessibility & contrast

On white

5.35
#AF34AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#AF34AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF34AE
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF34AE#FFFFFF#000000##FFFFFF
##AF34AE1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2060B1
Deuteranopia (green-blind)
#5570AB
Tritanopia (blue-blind)
#B5466D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af34ae;
/* rgb */ color: rgb(175, 52, 174);
/* oklch */ color: oklch(55.4% 0.208 328.3);
Tailwind
colors: {
  custom: {
    50: '#ca77c6',
    500: '#af34ae',
    950: '#000000',
  },
}
SCSS
$custom: #af34ae;
$custom-light: #ca77c6;
$custom-dark: #000000;
JSON
{
  "hex": "#af34ae",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 174
  },
  "hsl": {
    "h": 300.488,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55423,
    "c": 0.20835,
    "h": 328.3
  },
  "luminance": 0.14626
}

Semantic roles & 50–950 ramp

primary
#AF34AE
secondary
#7BC47C
accent
#DE4B4A
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF34AE

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

Preview Lab → · Contrast checker → · Palette generator →

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