#AF25AE#AF25AE

#AF25AE is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.3% C 0.223 H 328.5°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#AF25AE
RGBrgb(175, 37, 174)
HSLhsl(300, 65%, 42%)
HSVhsv(300, 79%, 69%)
CMYKcmyk(0%, 78.9%, 0.6%, 31.4%)
CIE-LABlab(43.50, 68.03, -42.16)
CIE-LCHlch(43.50, 80.03, 328.21°)
OKLaboklab(54.26% 0.1904 -0.1169)
OKLCHoklch(54.26% 0.223 328.5)
XYZxyz(25.9805, 13.4951, 41.2726)
Luminance0.1349 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF25AE #25AF26
analogous
#6B25AF #AF25AE #AF2569
triadic
#AF25AE #AEAF25 #25AEAF
tetradic
#AF25AE #AF6B25 #25AF26 #2569AF
square
#AF25AE #AF6B25 #25AF26 #2569AF
split-complementary
#AF25AE #69AF25 #25AF6B
monochromatic
#4A104A #7C1A7C #AF25AE #D63CD5 #E06EE0

Accessibility & contrast

On white

5.68
#AF25AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#AF25AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF25AE
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF25AE#FFFFFF#000000##FFFFFF
##AF25AE1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#4E6DAB
Tritanopia (blue-blind)
#B53D6A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af25ae;
/* rgb */ color: rgb(175, 37, 174);
/* oklch */ color: oklch(54.3% 0.223 328.5);
Tailwind
colors: {
  custom: {
    50: '#cb71c7',
    500: '#af25ae',
    950: '#000000',
  },
}
SCSS
$custom: #af25ae;
$custom-light: #cb71c7;
$custom-dark: #000000;
JSON
{
  "hex": "#af25ae",
  "rgb": {
    "r": 175,
    "g": 37,
    "b": 174
  },
  "hsl": {
    "h": 300.435,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.54265,
    "c": 0.22343,
    "h": 328.5
  },
  "luminance": 0.13493
}

Semantic roles & 50–950 ramp

primary
#AF25AE
secondary
#69C76A
accent
#E84140
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #AF25AE

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

Preview Lab → · Contrast checker → · Palette generator →

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