#AF259A#AF259A

#AF259A is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.1% C 0.209 H 335.3°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#AF259A
RGBrgb(175, 37, 154)
HSLhsl(309, 65%, 42%)
HSVhsv(309, 79%, 69%)
CMYKcmyk(0%, 78.9%, 12%, 31.4%)
CIE-LABlab(42.42, 64.99, -31.91)
CIE-LCHlch(42.42, 72.40, 333.85°)
OKLaboklab(53.14% 0.1901 -0.0873)
OKLCHoklch(53.14% 0.209 335.3)
XYZxyz(24.1739, 12.7724, 31.7578)
Luminance0.1277 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF259A #25AF3A
analogous
#7F25AF #AF259A #AF2555
triadic
#AF259A #9AAF25 #259AAF
tetradic
#AF259A #AF7F25 #25AF3A #2555AF
square
#AF259A #AF7F25 #25AF3A #2555AF
split-complementary
#AF259A #55AF25 #25AF7F
monochromatic
#4A1041 #7C1A6E #AF259A #D63CBE #E06ECF

Accessibility & contrast

On white

5.91
#AF259A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#AF259A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF259A
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF259A#FFFFFF#000000##FFFFFF
##AF259A1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25579D
Deuteranopia (green-blind)
#596B97
Tritanopia (blue-blind)
#B8325E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af259a;
/* rgb */ color: rgb(175, 37, 154);
/* oklch */ color: oklch(53.1% 0.209 335.3);
Tailwind
colors: {
  custom: {
    50: '#cb70b8',
    500: '#af259a',
    950: '#000000',
  },
}
SCSS
$custom: #af259a;
$custom-light: #cb70b8;
$custom-dark: #000000;
JSON
{
  "hex": "#af259a",
  "rgb": {
    "r": 175,
    "g": 37,
    "b": 154
  },
  "hsl": {
    "h": 309.13,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53144,
    "c": 0.20921,
    "h": 335.3
  },
  "luminance": 0.1277
}

Semantic roles & 50–950 ramp

primary
#AF259A
secondary
#69C777
accent
#E85940
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #AF259A

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

Preview Lab → · Contrast checker → · Palette generator →

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