#AF269A#AF269A

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

Color values

HEX#AF269A
RGBrgb(175, 38, 154)
HSLhsl(309, 64%, 42%)
HSVhsv(309, 78%, 69%)
CMYKcmyk(0%, 78.3%, 12%, 31.4%)
CIE-LABlab(42.51, 64.71, -31.76)
CIE-LCHlch(42.51, 72.09, 333.86°)
OKLaboklab(53.21% 0.1893 -0.0868)
OKLCHoklch(53.21% 0.208 335.4)
XYZxyz(24.2054, 12.8355, 31.7683)
Luminance0.1283 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF269A #26AF3B
analogous
#8026AF #AF269A #AF2656
triadic
#AF269A #9AAF26 #269AAF
tetradic
#AF269A #AF8026 #26AF3B #2656AF
square
#AF269A #AF8026 #26AF3B #2656AF
split-complementary
#AF269A #56AF26 #26AF80
monochromatic
#4A1042 #7D1B6E #AF269A #D53DBE #E070CF

Accessibility & contrast

On white

5.89
#AF269A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#AF269A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF269A
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF269A#FFFFFF#000000##FFFFFF
##AF269A1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af269a;
/* rgb */ color: rgb(175, 38, 154);
/* oklch */ color: oklch(53.2% 0.208 335.4);
Tailwind
colors: {
  custom: {
    50: '#cb71b8',
    500: '#af269a',
    950: '#000000',
  },
}
SCSS
$custom: #af269a;
$custom-light: #cb71b8;
$custom-dark: #000000;
JSON
{
  "hex": "#af269a",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 154
  },
  "hsl": {
    "h": 309.197,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53213,
    "c": 0.20829,
    "h": 335.4
  },
  "luminance": 0.12833
}

Semantic roles & 50–950 ramp

primary
#AF269A
secondary
#6AC778
accent
#E75A40
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #AF269A

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

Preview Lab → · Contrast checker → · Palette generator →

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