#AF36BA#AF36BA

#AF36BA is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.3% C 0.216 H 324.3°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#AF36BA
RGBrgb(175, 54, 186)
HSLhsl(295, 55%, 47%)
HSVhsv(295, 71%, 73%)
CMYKcmyk(5.9%, 71%, 0%, 27.1%)
CIE-LABlab(46.04, 64.72, -45.17)
CIE-LCHlch(46.04, 78.93, 325.09°)
OKLaboklab(56.3% 0.1752 -0.1258)
OKLCHoklch(56.3% 0.216 324.3)
XYZxyz(27.8605, 15.2992, 47.9304)
Luminance0.1530 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF36BA #41BA36
analogous
#6D36BA #AF36BA #BA3683
triadic
#AF36BA #BAAF36 #36BAAF
tetradic
#AF36BA #BA6D36 #41BA36 #3683BA
square
#AF36BA #BA6D36 #41BA36 #3683BA
split-complementary
#AF36BA #83BA36 #36BA6D
monochromatic
#561A5B #82288B #AF36BA #C65DD0 #D78DDE

Accessibility & contrast

On white

5.17
#AF36BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#AF36BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF36BA
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF36BA#FFFFFF#000000##FFFFFF
##AF36BA1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C64BE
Deuteranopia (green-blind)
#4F72B7
Tritanopia (blue-blind)
#B24C75
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af36ba;
/* rgb */ color: rgb(175, 54, 186);
/* oklch */ color: oklch(56.3% 0.216 324.3);
Tailwind
colors: {
  custom: {
    50: '#cb78cf',
    500: '#af36ba',
    950: '#000000',
  },
}
SCSS
$custom: #af36ba;
$custom-light: #cb78cf;
$custom-dark: #000000;
JSON
{
  "hex": "#af36ba",
  "rgb": {
    "r": 175,
    "g": 54,
    "b": 186
  },
  "hsl": {
    "h": 295,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.563,
    "c": 0.21568,
    "h": 324.3
  },
  "luminance": 0.15297
}

Semantic roles & 50–950 ramp

primary
#AF36BA
secondary
#89C884
accent
#DE4956
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AF36BA

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

Preview Lab → · Contrast checker → · Palette generator →

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