#AF269F#AF269F

#AF269F is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.5% C 0.212 H 333.5°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#AF269F
RGBrgb(175, 38, 159)
HSLhsl(307, 64%, 42%)
HSVhsv(307, 78%, 69%)
CMYKcmyk(0%, 78.3%, 9.1%, 31.4%)
CIE-LABlab(42.77, 65.45, -34.37)
CIE-LCHlch(42.77, 73.92, 332.30°)
OKLaboklab(53.48% 0.1896 -0.0943)
OKLCHoklch(53.48% 0.212 333.5)
XYZxyz(24.6305, 13.0056, 34.0073)
Luminance0.1300 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF269F #26AF36
analogous
#7B26AF #AF269F #AF265B
triadic
#AF269F #9FAF26 #269FAF
tetradic
#AF269F #AF7B26 #26AF36 #265BAF
square
#AF269F #AF7B26 #26AF36 #265BAF
split-complementary
#AF269F #5BAF26 #26AF7B
monochromatic
#4A1044 #7D1B71 #AF269F #D53DC3 #E070D3

Accessibility & contrast

On white

5.83
#AF269F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#AF269F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF269F
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF269F#FFFFFF#000000##FFFFFF
##AF269F1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2058A2
Deuteranopia (green-blind)
#576C9C
Tritanopia (blue-blind)
#B73561
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af269f;
/* rgb */ color: rgb(175, 38, 159);
/* oklch */ color: oklch(53.5% 0.212 333.5);
Tailwind
colors: {
  custom: {
    50: '#cb71bc',
    500: '#af269f',
    950: '#000000',
  },
}
SCSS
$custom: #af269f;
$custom-light: #cb71bc;
$custom-dark: #000000;
JSON
{
  "hex": "#af269f",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 159
  },
  "hsl": {
    "h": 307.007,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.5348,
    "c": 0.21175,
    "h": 333.5
  },
  "luminance": 0.13003
}

Semantic roles & 50–950 ramp

primary
#AF269F
secondary
#6AC775
accent
#E75440
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #AF269F

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

Preview Lab → · Contrast checker → · Palette generator →

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