#AF36BB#AF36BB

#AF36BB is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.4% C 0.216 H 324.0°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#AF36BB
RGBrgb(175, 54, 187)
HSLhsl(295, 55%, 47%)
HSVhsv(295, 71%, 73%)
CMYKcmyk(6.4%, 71.1%, 0%, 26.7%)
CIE-LABlab(46.10, 64.89, -45.67)
CIE-LCHlch(46.10, 79.35, 324.87°)
OKLaboklab(56.36% 0.1752 -0.1272)
OKLCHoklch(56.36% 0.217 324)
XYZxyz(27.9672, 15.3419, 48.4923)
Luminance0.1534 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF36BB #42BB36
analogous
#6C36BB #AF36BB #BB3685
triadic
#AF36BB #BBAF36 #36BBAF
tetradic
#AF36BB #BB6C36 #42BB36 #3685BB
square
#AF36BB #BB6C36 #42BB36 #3685BB
split-complementary
#AF36BB #85BB36 #36BB6C
monochromatic
#561B5C #83288C #AF36BB #C65ED0 #D78DDE

Accessibility & contrast

On white

5.16
#AF36BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#AF36BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF36BB
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF36BB#FFFFFF#000000##FFFFFF
##AF36BB1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0864BF
Deuteranopia (green-blind)
#4E72B8
Tritanopia (blue-blind)
#B24D75
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af36bb;
/* rgb */ color: rgb(175, 54, 187);
/* oklch */ color: oklch(56.4% 0.216 324.0);
Tailwind
colors: {
  custom: {
    50: '#cb78d0',
    500: '#af36bb',
    950: '#000000',
  },
}
SCSS
$custom: #af36bb;
$custom-light: #cb78d0;
$custom-dark: #000000;
JSON
{
  "hex": "#af36bb",
  "rgb": {
    "r": 175,
    "g": 54,
    "b": 187
  },
  "hsl": {
    "h": 294.586,
    "s": 55.187,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56359,
    "c": 0.2165,
    "h": 324
  },
  "luminance": 0.1534
}

Semantic roles & 50–950 ramp

primary
#AF36BB
secondary
#8AC984
accent
#DF4957
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AF36BB

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

Preview Lab → · Contrast checker → · Palette generator →

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