#AF25AF#AF25AF

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

Color values

HEX#AF25AF
RGBrgb(175, 37, 175)
HSLhsl(300, 65%, 42%)
HSVhsv(300, 79%, 69%)
CMYKcmyk(0%, 78.9%, 0%, 31.4%)
CIE-LABlab(43.56, 68.19, -42.66)
CIE-LCHlch(43.56, 80.43, 327.97°)
OKLaboklab(54.33% 0.1904 -0.1183)
OKLCHoklch(54.33% 0.224 328.1)
XYZxyz(26.0783, 13.5342, 41.7880)
Luminance0.1353 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF25AF #25AF25
analogous
#6A25AF #AF25AF #AF256A
triadic
#AF25AF #AFAF25 #25AFAF
tetradic
#AF25AF #AF6A25 #25AF25 #256AAF
square
#AF25AF #AF6A25 #25AF25 #256AAF
split-complementary
#AF25AF #6AAF25 #25AF6A
monochromatic
#4A104A #7C1A7C #AF25AF #D63CD6 #E06EE0

Accessibility & contrast

On white

5.67
#AF25AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#AF25AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF25AF
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF25AF#FFFFFF#000000##FFFFFF
##AF25AF1.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af25af;
/* rgb */ color: rgb(175, 37, 175);
/* oklch */ color: oklch(54.3% 0.224 328.1);
Tailwind
colors: {
  custom: {
    50: '#cb71c7',
    500: '#af25af',
    950: '#000000',
  },
}
SCSS
$custom: #af25af;
$custom-light: #cb71c7;
$custom-dark: #000000;
JSON
{
  "hex": "#af25af",
  "rgb": {
    "r": 175,
    "g": 37,
    "b": 175
  },
  "hsl": {
    "h": 300,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.54325,
    "c": 0.22416,
    "h": 328.1
  },
  "luminance": 0.13532
}

Semantic roles & 50–950 ramp

primary
#AF25AF
secondary
#69C769
accent
#E84040
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #AF25AF

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

Preview Lab → · Contrast checker → · Palette generator →

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