#AF25AB#AF25AB

#AF25AB is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.1% C 0.221 H 329.4°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#AF25AB
RGBrgb(175, 37, 171)
HSLhsl(302, 65%, 42%)
HSVhsv(302, 79%, 69%)
CMYKcmyk(0%, 78.9%, 2.3%, 31.4%)
CIE-LABlab(43.33, 67.55, -40.65)
CIE-LCHlch(43.33, 78.84, 328.96°)
OKLaboklab(54.09% 0.1905 -0.1125)
OKLCHoklch(54.09% 0.221 329.4)
XYZxyz(25.6913, 13.3794, 39.7495)
Luminance0.1338 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF25AB #25AF29
analogous
#6E25AF #AF25AB #AF2566
triadic
#AF25AB #ABAF25 #25ABAF
tetradic
#AF25AB #AF6E25 #25AF29 #2566AF
square
#AF25AB #AF6E25 #25AF29 #2566AF
split-complementary
#AF25AB #66AF25 #25AF6E
monochromatic
#4A1048 #7C1A7A #AF25AB #D63CD1 #E06EDD

Accessibility & contrast

On white

5.71
#AF25AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#AF25AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF25AB
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF25AB#FFFFFF#000000##FFFFFF
##AF25AB1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#045BAE
Deuteranopia (green-blind)
#506DA8
Tritanopia (blue-blind)
#B53B68
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af25ab;
/* rgb */ color: rgb(175, 37, 171);
/* oklch */ color: oklch(54.1% 0.221 329.4);
Tailwind
colors: {
  custom: {
    50: '#cb71c4',
    500: '#af25ab',
    950: '#000000',
  },
}
SCSS
$custom: #af25ab;
$custom-light: #cb71c4;
$custom-dark: #000000;
JSON
{
  "hex": "#af25ab",
  "rgb": {
    "r": 175,
    "g": 37,
    "b": 171
  },
  "hsl": {
    "h": 301.739,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.54089,
    "c": 0.22124,
    "h": 329.4
  },
  "luminance": 0.13377
}

Semantic roles & 50–950 ramp

primary
#AF25AB
secondary
#69C76C
accent
#E84540
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #AF25AB

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

Preview Lab → · Contrast checker → · Palette generator →

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