#AF259B#AF259B

#AF259B is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.2% C 0.210 H 335.0°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#AF259B
RGBrgb(175, 37, 155)
HSLhsl(309, 65%, 42%)
HSVhsv(309, 79%, 69%)
CMYKcmyk(0%, 78.9%, 11.4%, 31.4%)
CIE-LABlab(42.47, 65.13, -32.44)
CIE-LCHlch(42.47, 72.76, 333.53°)
OKLaboklab(53.2% 0.1902 -0.0888)
OKLCHoklch(53.2% 0.21 335)
XYZxyz(24.2575, 12.8059, 32.1982)
Luminance0.1280 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF259B #25AF39
analogous
#7E25AF #AF259B #AF2556
triadic
#AF259B #9BAF25 #259BAF
tetradic
#AF259B #AF7E25 #25AF39 #2556AF
square
#AF259B #AF7E25 #25AF39 #2556AF
split-complementary
#AF259B #56AF25 #25AF7E
monochromatic
#4A1042 #7C1A6E #AF259B #D63CBF #E06ED0

Accessibility & contrast

On white

5.90
#AF259B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#AF259B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF259B
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF259B#FFFFFF#000000##FFFFFF
##AF259B1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24579E
Deuteranopia (green-blind)
#586B98
Tritanopia (blue-blind)
#B8325F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af259b;
/* rgb */ color: rgb(175, 37, 155);
/* oklch */ color: oklch(53.2% 0.210 335.0);
Tailwind
colors: {
  custom: {
    50: '#cb70b9',
    500: '#af259b',
    950: '#000000',
  },
}
SCSS
$custom: #af259b;
$custom-light: #cb70b9;
$custom-dark: #000000;
JSON
{
  "hex": "#af259b",
  "rgb": {
    "r": 175,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 308.696,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53197,
    "c": 0.2099,
    "h": 335
  },
  "luminance": 0.12804
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF259B

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

Preview Lab → · Contrast checker → · Palette generator →

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