#AF36B0#AF36B0

#AF36B0 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.7% C 0.208 H 327.6°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#AF36B0
RGBrgb(175, 54, 176)
HSLhsl(300, 53%, 45%)
HSVhsv(300, 69%, 69%)
CMYKcmyk(0.6%, 69.3%, 0%, 31%)
CIE-LABlab(45.48, 63.01, -40.19)
CIE-LCHlch(45.48, 74.73, 327.47°)
OKLaboklab(55.72% 0.1753 -0.1113)
OKLCHoklch(55.72% 0.208 327.6)
XYZxyz(26.8345, 14.8887, 42.5263)
Luminance0.1489 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF36B0 #37B036
analogous
#7236B0 #AF36B0 #B03674
triadic
#AF36B0 #B0AF36 #36B0AF
tetradic
#AF36B0 #B07236 #37B036 #3674B0
square
#AF36B0 #B07236 #37B036 #3674B0
split-complementary
#AF36B0 #74B036 #36B072
monochromatic
#521952 #802881 #AF36B0 #CB58CC #D986DA

Accessibility & contrast

On white

5.28
#AF36B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#AF36B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF36B0
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF36B0#FFFFFF#000000##FFFFFF
##AF36B01.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2162B3
Deuteranopia (green-blind)
#5571AD
Tritanopia (blue-blind)
#B4486F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af36b0;
/* rgb */ color: rgb(175, 54, 176);
/* oklch */ color: oklch(55.7% 0.208 327.6);
Tailwind
colors: {
  custom: {
    50: '#ca78c8',
    500: '#af36b0',
    950: '#000000',
  },
}
SCSS
$custom: #af36b0;
$custom-light: #ca78c8;
$custom-dark: #000000;
JSON
{
  "hex": "#af36b0",
  "rgb": {
    "r": 175,
    "g": 54,
    "b": 176
  },
  "hsl": {
    "h": 299.508,
    "s": 53.043,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55718,
    "c": 0.20761,
    "h": 327.6
  },
  "luminance": 0.14887
}

Semantic roles & 50–950 ramp

primary
#AF36B0
secondary
#7FC47E
accent
#DC4B4D
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF36B0

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

Preview Lab → · Contrast checker → · Palette generator →

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