#AF269D#AF269D

#AF269D is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.4% C 0.210 H 334.3°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#AF269D
RGBrgb(175, 38, 157)
HSLhsl(308, 64%, 42%)
HSVhsv(308, 78%, 69%)
CMYKcmyk(0%, 78.3%, 10.3%, 31.4%)
CIE-LABlab(42.67, 65.15, -33.33)
CIE-LCHlch(42.67, 73.18, 332.91°)
OKLaboklab(53.37% 0.1895 -0.0913)
OKLCHoklch(53.37% 0.21 334.3)
XYZxyz(24.4584, 12.9367, 33.1006)
Luminance0.1293 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF269D #26AF38
analogous
#7D26AF #AF269D #AF2659
triadic
#AF269D #9DAF26 #269DAF
tetradic
#AF269D #AF7D26 #26AF38 #2659AF
square
#AF269D #AF7D26 #26AF38 #2659AF
split-complementary
#AF269D #59AF26 #26AF7D
monochromatic
#4A1043 #7D1B70 #AF269D #D53DC1 #E070D1

Accessibility & contrast

On white

5.85
#AF269D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#AF269D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF269D
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF269D#FFFFFF#000000##FFFFFF
##AF269D1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2358A0
Deuteranopia (green-blind)
#586C9A
Tritanopia (blue-blind)
#B83460
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af269d;
/* rgb */ color: rgb(175, 38, 157);
/* oklch */ color: oklch(53.4% 0.210 334.3);
Tailwind
colors: {
  custom: {
    50: '#cb71ba',
    500: '#af269d',
    950: '#000000',
  },
}
SCSS
$custom: #af269d;
$custom-light: #cb71ba;
$custom-dark: #000000;
JSON
{
  "hex": "#af269d",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 157
  },
  "hsl": {
    "h": 307.883,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53372,
    "c": 0.21036,
    "h": 334.3
  },
  "luminance": 0.12935
}

Semantic roles & 50–950 ramp

primary
#AF269D
secondary
#6AC776
accent
#E75640
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #AF269D

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

Preview Lab → · Contrast checker → · Palette generator →

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