#AF26AE#AF26AE

#AF26AE is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.3% C 0.223 H 328.4°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#AF26AE
RGBrgb(175, 38, 174)
HSLhsl(300, 64%, 42%)
HSVhsv(300, 78%, 69%)
CMYKcmyk(0%, 78.3%, 0.6%, 31.4%)
CIE-LABlab(43.59, 67.76, -42.01)
CIE-LCHlch(43.59, 79.73, 328.20°)
OKLaboklab(54.33% 0.1897 -0.1165)
OKLCHoklch(54.33% 0.223 328.4)
XYZxyz(26.0120, 13.5582, 41.2831)
Luminance0.1356 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF26AE #26AF27
analogous
#6C26AF #AF26AE #AF266A
triadic
#AF26AE #AEAF26 #26AEAF
tetradic
#AF26AE #AF6C26 #26AF27 #266AAF
square
#AF26AE #AF6C26 #26AF27 #266AAF
split-complementary
#AF26AE #6AAF26 #26AF6C
monochromatic
#4A104A #7D1B7C #AF26AE #D53DD4 #E070DF

Accessibility & contrast

On white

5.66
#AF26AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#AF26AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF26AE
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF26AE#FFFFFF#000000##FFFFFF
##AF26AE1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#4F6DAB
Tritanopia (blue-blind)
#B53D6A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af26ae;
/* rgb */ color: rgb(175, 38, 174);
/* oklch */ color: oklch(54.3% 0.223 328.4);
Tailwind
colors: {
  custom: {
    50: '#cb71c7',
    500: '#af26ae',
    950: '#000000',
  },
}
SCSS
$custom: #af26ae;
$custom-light: #cb71c7;
$custom-dark: #000000;
JSON
{
  "hex": "#af26ae",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 174
  },
  "hsl": {
    "h": 300.438,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.54331,
    "c": 0.22256,
    "h": 328.4
  },
  "luminance": 0.13556
}

Semantic roles & 50–950 ramp

primary
#AF26AE
secondary
#6AC76B
accent
#E74240
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #AF26AE

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

Preview Lab → · Contrast checker → · Palette generator →

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