#AF36BF#AF36BF

#AF36BF is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.6% C 0.220 H 322.8°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#AF36BF
RGBrgb(175, 54, 191)
HSLhsl(293, 56%, 48%)
HSVhsv(293, 72%, 75%)
CMYKcmyk(8.4%, 71.7%, 0%, 25.1%)
CIE-LABlab(46.33, 65.60, -47.63)
CIE-LCHlch(46.33, 81.07, 324.02°)
OKLaboklab(56.6% 0.175 -0.133)
OKLCHoklch(56.6% 0.22 322.8)
XYZxyz(28.4014, 15.5155, 50.7789)
Luminance0.1551 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF36BF #46BF36
analogous
#6B36BF #AF36BF #BF368A
triadic
#AF36BF #BFAF36 #36BFAF
tetradic
#AF36BF #BF6B36 #46BF36 #368ABF
square
#AF36BF #BF6B36 #46BF36 #368ABF
split-complementary
#AF36BF #8ABF36 #36BF6B
monochromatic
#581B60 #83298F #AF36BF #C560D2 #D690E0

Accessibility & contrast

On white

5.12
#AF36BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#AF36BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF36BF
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF36BF#FFFFFF#000000##FFFFFF
##AF36BF1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#4B72BC
Tritanopia (blue-blind)
#B14F77
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af36bf;
/* rgb */ color: rgb(175, 54, 191);
/* oklch */ color: oklch(56.6% 0.220 322.8);
Tailwind
colors: {
  custom: {
    50: '#cb79d3',
    500: '#af36bf',
    950: '#000000',
  },
}
SCSS
$custom: #af36bf;
$custom-light: #cb79d3;
$custom-dark: #000000;
JSON
{
  "hex": "#af36bf",
  "rgb": {
    "r": 175,
    "g": 54,
    "b": 191
  },
  "hsl": {
    "h": 292.993,
    "s": 55.918,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56601,
    "c": 0.2198,
    "h": 322.8
  },
  "luminance": 0.15514
}

Semantic roles & 50–950 ramp

primary
#AF36BF
secondary
#8ECA87
accent
#DF495A
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AF36BF

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

Preview Lab → · Contrast checker → · Palette generator →

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