#AF25A3#AF25A3

#AF25A3 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.6% C 0.215 H 332.1°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#AF25A3
RGBrgb(175, 37, 163)
HSLhsl(305, 65%, 42%)
HSVhsv(305, 79%, 69%)
CMYKcmyk(0%, 78.9%, 6.9%, 31.4%)
CIE-LABlab(42.89, 66.32, -36.58)
CIE-LCHlch(42.89, 75.74, 331.12°)
OKLaboklab(53.63% 0.1905 -0.1007)
OKLCHoklch(53.63% 0.215 332.1)
XYZxyz(24.9517, 13.0836, 35.8545)
Luminance0.1308 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF25A3 #25AF31
analogous
#7625AF #AF25A3 #AF255E
triadic
#AF25A3 #A3AF25 #25A3AF
tetradic
#AF25A3 #AF7625 #25AF31 #255EAF
square
#AF25A3 #AF7625 #25AF31 #255EAF
split-complementary
#AF25A3 #5EAF25 #25AF76
monochromatic
#4A1045 #7C1A74 #AF25A3 #D63CC8 #E06ED6

Accessibility & contrast

On white

5.81
#AF25A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#AF25A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF25A3
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF25A3#FFFFFF#000000##FFFFFF
##AF25A31.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1959A6
Deuteranopia (green-blind)
#556CA0
Tritanopia (blue-blind)
#B73764
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af25a3;
/* rgb */ color: rgb(175, 37, 163);
/* oklch */ color: oklch(53.6% 0.215 332.1);
Tailwind
colors: {
  custom: {
    50: '#cb71bf',
    500: '#af25a3',
    950: '#000000',
  },
}
SCSS
$custom: #af25a3;
$custom-light: #cb71bf;
$custom-dark: #000000;
JSON
{
  "hex": "#af25a3",
  "rgb": {
    "r": 175,
    "g": 37,
    "b": 163
  },
  "hsl": {
    "h": 305.217,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53633,
    "c": 0.21548,
    "h": 332.1
  },
  "luminance": 0.13081
}

Semantic roles & 50–950 ramp

primary
#AF25A3
secondary
#69C771
accent
#E84E40
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #AF25A3

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

Preview Lab → · Contrast checker → · Palette generator →

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