#AF269C#AF269C

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

Color values

HEX#AF269C
RGBrgb(175, 38, 156)
HSLhsl(308, 64%, 42%)
HSVhsv(308, 78%, 69%)
CMYKcmyk(0%, 78.3%, 10.9%, 31.4%)
CIE-LABlab(42.62, 65.00, -32.81)
CIE-LCHlch(42.62, 72.81, 333.22°)
OKLaboklab(53.32% 0.1894 -0.0898)
OKLCHoklch(53.32% 0.21 334.6)
XYZxyz(24.3734, 12.9027, 32.6529)
Luminance0.1290 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF269C #26AF39
analogous
#7E26AF #AF269C #AF2658
triadic
#AF269C #9CAF26 #269CAF
tetradic
#AF269C #AF7E26 #26AF39 #2658AF
square
#AF269C #AF7E26 #26AF39 #2658AF
split-complementary
#AF269C #58AF26 #26AF7E
monochromatic
#4A1042 #7D1B6F #AF269C #D53DC0 #E070D0

Accessibility & contrast

On white

5.87
#AF269C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#AF269C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF269C
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF269C#FFFFFF#000000##FFFFFF
##AF269C1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24589F
Deuteranopia (green-blind)
#586C99
Tritanopia (blue-blind)
#B83360
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af269c;
/* rgb */ color: rgb(175, 38, 156);
/* oklch */ color: oklch(53.3% 0.210 334.6);
Tailwind
colors: {
  custom: {
    50: '#cb71b9',
    500: '#af269c',
    950: '#000000',
  },
}
SCSS
$custom: #af269c;
$custom-light: #cb71b9;
$custom-dark: #000000;
JSON
{
  "hex": "#af269c",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 156
  },
  "hsl": {
    "h": 308.321,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53319,
    "c": 0.20966,
    "h": 334.6
  },
  "luminance": 0.129
}

Semantic roles & 50–950 ramp

primary
#AF269C
secondary
#6AC777
accent
#E75840
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #AF269C

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

Preview Lab → · Contrast checker → · Palette generator →

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