#AF36AA#AF36AA

#AF36AA is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.4% C 0.203 H 329.7°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#AF36AA
RGBrgb(175, 54, 170)
HSLhsl(302, 53%, 45%)
HSVhsv(302, 69%, 69%)
CMYKcmyk(0%, 69.1%, 2.9%, 31.4%)
CIE-LABlab(45.16, 62.01, -37.15)
CIE-LCHlch(45.16, 72.29, 329.07°)
OKLaboklab(55.38% 0.1751 -0.1025)
OKLCHoklch(55.38% 0.203 329.7)
XYZxyz(26.2539, 14.6565, 39.4686)
Luminance0.1466 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF36AA #36AF3B
analogous
#7736AF #AF36AA #AF366E
triadic
#AF36AA #AAAF36 #36AAAF
tetradic
#AF36AA #AF7736 #36AF3B #366EAF
square
#AF36AA #AF7736 #36AF3B #366EAF
split-complementary
#AF36AA #6EAF36 #36AF77
monochromatic
#51194F #80287D #AF36AA #CB57C6 #DA86D6

Accessibility & contrast

On white

5.34
#AF36AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#AF36AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF36AA
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF36AA#FFFFFF#000000##FFFFFF
##AF36AA1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2960AD
Deuteranopia (green-blind)
#5871A7
Tritanopia (blue-blind)
#B5456C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af36aa;
/* rgb */ color: rgb(175, 54, 170);
/* oklch */ color: oklch(55.4% 0.203 329.7);
Tailwind
colors: {
  custom: {
    50: '#ca78c4',
    500: '#af36aa',
    950: '#000000',
  },
}
SCSS
$custom: #af36aa;
$custom-light: #ca78c4;
$custom-dark: #000000;
JSON
{
  "hex": "#af36aa",
  "rgb": {
    "r": 175,
    "g": 54,
    "b": 170
  },
  "hsl": {
    "h": 302.479,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55382,
    "c": 0.20287,
    "h": 329.7
  },
  "luminance": 0.14655
}

Semantic roles & 50–950 ramp

primary
#AF36AA
secondary
#7DC380
accent
#DC524C
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A12
muted
#827C81

Preview Lab

Preview with #AF36AA

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

Preview Lab → · Contrast checker → · Palette generator →

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