#AF36C2#AF36C2

#AF36C2 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.8% C 0.222 H 321.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#AF36C2
RGBrgb(175, 54, 194)
HSLhsl(292, 56%, 49%)
HSVhsv(292, 72%, 76%)
CMYKcmyk(9.8%, 72.2%, 0%, 23.9%)
CIE-LABlab(46.51, 66.14, -49.09)
CIE-LCHlch(46.51, 82.36, 323.42°)
OKLaboklab(56.79% 0.1749 -0.1372)
OKLCHoklch(56.79% 0.222 321.9)
XYZxyz(28.7349, 15.6489, 52.5355)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF36C2 #49C236
analogous
#6936C2 #AF36C2 #C2368F
triadic
#AF36C2 #C2AF36 #36C2AF
tetradic
#AF36C2 #C26936 #49C236 #368FC2
square
#AF36C2 #C26936 #49C236 #368FC2
split-complementary
#AF36C2 #8FC236 #36C269
monochromatic
#591B62 #842992 #AF36C2 #C462D3 #D692E1

Accessibility & contrast

On white

5.09
#AF36C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#AF36C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF36C2
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF36C2#FFFFFF#000000##FFFFFF
##AF36C21.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#4973BF
Tritanopia (blue-blind)
#B15079
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af36c2;
/* rgb */ color: rgb(175, 54, 194);
/* oklch */ color: oklch(56.8% 0.222 321.9);
Tailwind
colors: {
  custom: {
    50: '#cb79d5',
    500: '#af36c2',
    950: '#000000',
  },
}
SCSS
$custom: #af36c2;
$custom-light: #cb79d5;
$custom-dark: #000000;
JSON
{
  "hex": "#af36c2",
  "rgb": {
    "r": 175,
    "g": 54,
    "b": 194
  },
  "hsl": {
    "h": 291.857,
    "s": 56.452,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56786,
    "c": 0.22227,
    "h": 321.9
  },
  "luminance": 0.15647
}

Semantic roles & 50–950 ramp

primary
#AF36C2
secondary
#91CC88
accent
#E0485D
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AF36C2

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

Preview Lab → · Contrast checker → · Palette generator →

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