#AF36B8#AF36B8

#AF36B8 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.2% C 0.214 H 325.0°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#AF36B8
RGBrgb(175, 54, 184)
HSLhsl(296, 55%, 47%)
HSVhsv(296, 71%, 72%)
CMYKcmyk(4.9%, 70.7%, 0%, 27.8%)
CIE-LABlab(45.93, 64.37, -44.19)
CIE-LCHlch(45.93, 78.08, 325.53°)
OKLaboklab(56.18% 0.1752 -0.1229)
OKLCHoklch(56.18% 0.214 325)
XYZxyz(27.6494, 15.2147, 46.8185)
Luminance0.1521 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF36B8 #3FB836
analogous
#6E36B8 #AF36B8 #B83680
triadic
#AF36B8 #B8AF36 #36B8AF
tetradic
#AF36B8 #B86E36 #3FB836 #3680B8
square
#AF36B8 #B86E36 #3FB836 #3680B8
split-complementary
#AF36B8 #80B836 #36B86E
monochromatic
#551A59 #822889 #AF36B8 #C75CCF #D78BDD

Accessibility & contrast

On white

5.19
#AF36B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#AF36B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF36B8
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF36B8#FFFFFF#000000##FFFFFF
##AF36B81.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1263BC
Deuteranopia (green-blind)
#5072B5
Tritanopia (blue-blind)
#B34C74
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af36b8;
/* rgb */ color: rgb(175, 54, 184);
/* oklch */ color: oklch(56.2% 0.214 325.0);
Tailwind
colors: {
  custom: {
    50: '#cb78ce',
    500: '#af36b8',
    950: '#000000',
  },
}
SCSS
$custom: #af36b8;
$custom-light: #cb78ce;
$custom-dark: #000000;
JSON
{
  "hex": "#af36b8",
  "rgb": {
    "r": 175,
    "g": 54,
    "b": 184
  },
  "hsl": {
    "h": 295.846,
    "s": 54.622,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56181,
    "c": 0.21405,
    "h": 325
  },
  "luminance": 0.15213
}

Semantic roles & 50–950 ramp

primary
#AF36B8
secondary
#87C782
accent
#DE4A54
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF36B8

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

Preview Lab → · Contrast checker → · Palette generator →

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