#AF36BD#AF36BD

#AF36BD is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.5% C 0.218 H 323.4°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#AF36BD
RGBrgb(175, 54, 189)
HSLhsl(294, 56%, 48%)
HSVhsv(294, 71%, 74%)
CMYKcmyk(7.4%, 71.4%, 0%, 25.9%)
CIE-LABlab(46.22, 65.25, -46.65)
CIE-LCHlch(46.22, 80.21, 324.44°)
OKLaboklab(56.48% 0.1751 -0.1301)
OKLCHoklch(56.48% 0.218 323.4)
XYZxyz(28.1828, 15.4281, 49.6277)
Luminance0.1543 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF36BD #44BD36
analogous
#6C36BD #AF36BD #BD3687
triadic
#AF36BD #BDAF36 #36BDAF
tetradic
#AF36BD #BD6C36 #44BD36 #3687BD
square
#AF36BD #BD6C36 #44BD36 #3687BD
split-complementary
#AF36BD #87BD36 #36BD6C
monochromatic
#571B5E #83288D #AF36BD #C55FD1 #D78FDF

Accessibility & contrast

On white

5.14
#AF36BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#AF36BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF36BD
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF36BD#FFFFFF#000000##FFFFFF
##AF36BD1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#4C72BA
Tritanopia (blue-blind)
#B24E76
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af36bd;
/* rgb */ color: rgb(175, 54, 189);
/* oklch */ color: oklch(56.5% 0.218 323.4);
Tailwind
colors: {
  custom: {
    50: '#cb78d1',
    500: '#af36bd',
    950: '#000000',
  },
}
SCSS
$custom: #af36bd;
$custom-light: #cb78d1;
$custom-dark: #000000;
JSON
{
  "hex": "#af36bd",
  "rgb": {
    "r": 175,
    "g": 54,
    "b": 189
  },
  "hsl": {
    "h": 293.778,
    "s": 55.556,
    "l": 47.647
  },
  "oklch": {
    "l": 0.5648,
    "c": 0.21814,
    "h": 323.4
  },
  "luminance": 0.15426
}

Semantic roles & 50–950 ramp

primary
#AF36BD
secondary
#8CC985
accent
#DF4958
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AF36BD

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

Preview Lab → · Contrast checker → · Palette generator →

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