#AF36B3#AF36B3

#AF36B3 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 55.9% C 0.210 H 326.6°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#AF36B3
RGBrgb(175, 54, 179)
HSLhsl(298, 54%, 46%)
HSVhsv(298, 70%, 70%)
CMYKcmyk(2.2%, 69.8%, 0%, 29.8%)
CIE-LABlab(45.65, 63.51, -41.70)
CIE-LCHlch(45.65, 75.98, 326.71°)
OKLaboklab(55.89% 0.1753 -0.1157)
OKLCHoklch(55.89% 0.21 326.6)
XYZxyz(27.1346, 15.0088, 44.1069)
Luminance0.1501 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF36B3 #3AB336
analogous
#7036B3 #AF36B3 #B33678
triadic
#AF36B3 #B3AF36 #36B3AF
tetradic
#AF36B3 #B37036 #3AB336 #3678B3
square
#AF36B3 #B37036 #3AB336 #3678B3
split-complementary
#AF36B3 #78B336 #36B370
monochromatic
#531A55 #812884 #AF36B3 #C959CD #D988DB

Accessibility & contrast

On white

5.25
#AF36B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#AF36B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF36B3
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF36B3#FFFFFF#000000##FFFFFF
##AF36B31.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C62B7
Deuteranopia (green-blind)
#5371B0
Tritanopia (blue-blind)
#B44971
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af36b3;
/* rgb */ color: rgb(175, 54, 179);
/* oklch */ color: oklch(55.9% 0.210 326.6);
Tailwind
colors: {
  custom: {
    50: '#ca78ca',
    500: '#af36b3',
    950: '#000000',
  },
}
SCSS
$custom: #af36b3;
$custom-light: #ca78ca;
$custom-dark: #000000;
JSON
{
  "hex": "#af36b3",
  "rgb": {
    "r": 175,
    "g": 54,
    "b": 179
  },
  "hsl": {
    "h": 298.08,
    "s": 53.648,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55889,
    "c": 0.21001,
    "h": 326.6
  },
  "luminance": 0.15007
}

Semantic roles & 50–950 ramp

primary
#AF36B3
secondary
#82C580
accent
#DD4B4F
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF36B3

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

Preview Lab → · Contrast checker → · Palette generator →

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