#AF36BC#AF36BC

#AF36BC is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.4% C 0.217 H 323.7°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#AF36BC
RGBrgb(175, 54, 188)
HSLhsl(294, 55%, 47%)
HSVhsv(294, 71%, 74%)
CMYKcmyk(6.9%, 71.3%, 0%, 26.3%)
CIE-LABlab(46.16, 65.07, -46.16)
CIE-LCHlch(46.16, 79.78, 324.65°)
OKLaboklab(56.42% 0.1751 -0.1287)
OKLCHoklch(56.42% 0.217 323.7)
XYZxyz(28.0747, 15.3848, 49.0580)
Luminance0.1538 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF36BC #43BC36
analogous
#6C36BC #AF36BC #BC3686
triadic
#AF36BC #BCAF36 #36BCAF
tetradic
#AF36BC #BC6C36 #43BC36 #3686BC
square
#AF36BC #BC6C36 #43BC36 #3686BC
split-complementary
#AF36BC #86BC36 #36BC6C
monochromatic
#561B5D #83288C #AF36BC #C65ED1 #D78EDF

Accessibility & contrast

On white

5.15
#AF36BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#AF36BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF36BC
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF36BC#FFFFFF#000000##FFFFFF
##AF36BC1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0464C0
Deuteranopia (green-blind)
#4D72B9
Tritanopia (blue-blind)
#B24D76
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af36bc;
/* rgb */ color: rgb(175, 54, 188);
/* oklch */ color: oklch(56.4% 0.217 323.7);
Tailwind
colors: {
  custom: {
    50: '#cb78d1',
    500: '#af36bc',
    950: '#000000',
  },
}
SCSS
$custom: #af36bc;
$custom-light: #cb78d1;
$custom-dark: #000000;
JSON
{
  "hex": "#af36bc",
  "rgb": {
    "r": 175,
    "g": 54,
    "b": 188
  },
  "hsl": {
    "h": 294.179,
    "s": 55.372,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56419,
    "c": 0.21732,
    "h": 323.7
  },
  "luminance": 0.15383
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF36BC

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

Preview Lab → · Contrast checker → · Palette generator →

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