#AF25AD#AF25AD

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

Color values

HEX#AF25AD
RGBrgb(175, 37, 173)
HSLhsl(301, 65%, 42%)
HSVhsv(301, 79%, 69%)
CMYKcmyk(0%, 78.9%, 1.1%, 31.4%)
CIE-LABlab(43.44, 67.87, -41.66)
CIE-LCHlch(43.44, 79.63, 328.46°)
OKLaboklab(54.21% 0.1904 -0.1154)
OKLCHoklch(54.21% 0.223 328.8)
XYZxyz(25.8834, 13.4562, 40.7611)
Luminance0.1345 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF25AD #25AF27
analogous
#6C25AF #AF25AD #AF2568
triadic
#AF25AD #ADAF25 #25ADAF
tetradic
#AF25AD #AF6C25 #25AF27 #2568AF
square
#AF25AD #AF6C25 #25AF27 #2568AF
split-complementary
#AF25AD #68AF25 #25AF6C
monochromatic
#4A1049 #7C1A7B #AF25AD #D63CD3 #E06EDF

Accessibility & contrast

On white

5.69
#AF25AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#AF25AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF25AD
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF25AD#FFFFFF#000000##FFFFFF
##AF25AD1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB1
Deuteranopia (green-blind)
#4F6DAA
Tritanopia (blue-blind)
#B53C69
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af25ad;
/* rgb */ color: rgb(175, 37, 173);
/* oklch */ color: oklch(54.2% 0.223 328.8);
Tailwind
colors: {
  custom: {
    50: '#cb71c6',
    500: '#af25ad',
    950: '#000000',
  },
}
SCSS
$custom: #af25ad;
$custom-light: #cb71c6;
$custom-dark: #000000;
JSON
{
  "hex": "#af25ad",
  "rgb": {
    "r": 175,
    "g": 37,
    "b": 173
  },
  "hsl": {
    "h": 300.87,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.54206,
    "c": 0.2227,
    "h": 328.8
  },
  "luminance": 0.13454
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF25AD

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

Preview Lab → · Contrast checker → · Palette generator →

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