#AF2699#AF2699

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

Color values

HEX#AF2699
RGBrgb(175, 38, 153)
HSLhsl(310, 64%, 42%)
HSVhsv(310, 78%, 69%)
CMYKcmyk(0%, 78.3%, 12.6%, 31.4%)
CIE-LABlab(42.46, 64.57, -31.24)
CIE-LCHlch(42.46, 71.73, 334.18°)
OKLaboklab(53.16% 0.1893 -0.0853)
OKLCHoklch(53.16% 0.208 335.7)
XYZxyz(24.1225, 12.8023, 31.3315)
Luminance0.1280 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2699 #26AF3C
analogous
#8126AF #AF2699 #AF2655
triadic
#AF2699 #99AF26 #2699AF
tetradic
#AF2699 #AF8126 #26AF3C #2655AF
square
#AF2699 #AF8126 #26AF3C #2655AF
split-complementary
#AF2699 #55AF26 #26AF81
monochromatic
#4A1041 #7D1B6D #AF2699 #D53DBD #E070CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2699#FFFFFF#000000##FFFFFF
##AF26991.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)
#27579C
Deuteranopia (green-blind)
#5A6B96
Tritanopia (blue-blind)
#B8325E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af2699;
/* rgb */ color: rgb(175, 38, 153);
/* oklch */ color: oklch(53.2% 0.208 335.7);
Tailwind
colors: {
  custom: {
    50: '#cb71b7',
    500: '#af2699',
    950: '#000000',
  },
}
SCSS
$custom: #af2699;
$custom-light: #cb71b7;
$custom-dark: #000000;
JSON
{
  "hex": "#af2699",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 153
  },
  "hsl": {
    "h": 309.635,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.5316,
    "c": 0.20761,
    "h": 335.7
  },
  "luminance": 0.128
}

Semantic roles & 50–950 ramp

primary
#AF2699
secondary
#6AC779
accent
#E75B40
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #AF2699

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

Preview Lab → · Contrast checker → · Palette generator →

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