#AF25AA#AF25AA

#AF25AA is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.0% C 0.221 H 329.8°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#AF25AA
RGBrgb(175, 37, 170)
HSLhsl(302, 65%, 42%)
HSVhsv(302, 79%, 69%)
CMYKcmyk(0%, 78.9%, 2.9%, 31.4%)
CIE-LABlab(43.27, 67.40, -40.14)
CIE-LCHlch(43.27, 78.45, 329.22°)
OKLaboklab(54.03% 0.1905 -0.111)
OKLCHoklch(54.03% 0.221 329.8)
XYZxyz(25.5963, 13.3414, 39.2494)
Luminance0.1334 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF25AA #25AF2A
analogous
#6F25AF #AF25AA #AF2565
triadic
#AF25AA #AAAF25 #25AAAF
tetradic
#AF25AA #AF6F25 #25AF2A #2565AF
square
#AF25AA #AF6F25 #25AF2A #2565AF
split-complementary
#AF25AA #65AF25 #25AF6F
monochromatic
#4A1048 #7C1A79 #AF25AA #D63CD0 #E06EDC

Accessibility & contrast

On white

5.73
#AF25AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#AF25AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF25AA
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF25AA#FFFFFF#000000##FFFFFF
##AF25AA1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#085BAD
Deuteranopia (green-blind)
#516DA7
Tritanopia (blue-blind)
#B63A67
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af25aa;
/* rgb */ color: rgb(175, 37, 170);
/* oklch */ color: oklch(54.0% 0.221 329.8);
Tailwind
colors: {
  custom: {
    50: '#cb71c4',
    500: '#af25aa',
    950: '#000000',
  },
}
SCSS
$custom: #af25aa;
$custom-light: #cb71c4;
$custom-dark: #000000;
JSON
{
  "hex": "#af25aa",
  "rgb": {
    "r": 175,
    "g": 37,
    "b": 170
  },
  "hsl": {
    "h": 302.174,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.54031,
    "c": 0.2205,
    "h": 329.8
  },
  "luminance": 0.13339
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF25AA

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

Preview Lab → · Contrast checker → · Palette generator →

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