#AF36B9#AF36B9

#AF36B9 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.2% C 0.215 H 324.6°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#AF36B9
RGBrgb(175, 54, 185)
HSLhsl(295, 55%, 47%)
HSVhsv(295, 71%, 73%)
CMYKcmyk(5.4%, 70.8%, 0%, 27.5%)
CIE-LABlab(45.98, 64.55, -44.68)
CIE-LCHlch(45.98, 78.50, 325.31°)
OKLaboklab(56.24% 0.1752 -0.1244)
OKLCHoklch(56.24% 0.215 324.6)
XYZxyz(27.7546, 15.2568, 47.3725)
Luminance0.1525 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF36B9 #40B936
analogous
#6E36B9 #AF36B9 #B93682
triadic
#AF36B9 #B9AF36 #36B9AF
tetradic
#AF36B9 #B96E36 #40B936 #3682B9
square
#AF36B9 #B96E36 #40B936 #3682B9
split-complementary
#AF36B9 #82B936 #36B96E
monochromatic
#551A5A #82288A #AF36B9 #C75DD0 #D78CDD

Accessibility & contrast

On white

5.18
#AF36B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#AF36B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF36B9
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF36B9#FFFFFF#000000##FFFFFF
##AF36B91.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F64BD
Deuteranopia (green-blind)
#4F72B6
Tritanopia (blue-blind)
#B34C74
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af36b9;
/* rgb */ color: rgb(175, 54, 185);
/* oklch */ color: oklch(56.2% 0.215 324.6);
Tailwind
colors: {
  custom: {
    50: '#cb78ce',
    500: '#af36b9',
    950: '#000000',
  },
}
SCSS
$custom: #af36b9;
$custom-light: #cb78ce;
$custom-dark: #000000;
JSON
{
  "hex": "#af36b9",
  "rgb": {
    "r": 175,
    "g": 54,
    "b": 185
  },
  "hsl": {
    "h": 295.42,
    "s": 54.812,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5624,
    "c": 0.21487,
    "h": 324.6
  },
  "luminance": 0.15255
}

Semantic roles & 50–950 ramp

primary
#AF36B9
secondary
#88C883
accent
#DE4A55
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AF36B9

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

Preview Lab → · Contrast checker → · Palette generator →

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