#AF36CD#AF36CD

#AF36CD is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.5% C 0.231 H 318.7°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#AF36CD
RGBrgb(175, 54, 205)
HSLhsl(288, 60%, 51%)
HSVhsv(288, 74%, 80%)
CMYKcmyk(14.6%, 73.7%, 0%, 19.6%)
CIE-LABlab(47.19, 68.14, -54.37)
CIE-LCHlch(47.19, 87.18, 321.41°)
OKLaboklab(57.48% 0.174 -0.1527)
OKLCHoklch(57.48% 0.231 318.7)
XYZxyz(30.0163, 16.1615, 59.2842)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF36CD #54CD36
analogous
#6336CD #AF36CD #CD36A0
triadic
#AF36CD #CDAF36 #36CDAF
tetradic
#AF36CD #CD6336 #54CD36 #36A0CD
square
#AF36CD #CD6336 #54CD36 #36A0CD
split-complementary
#AF36CD #A0CD36 #36CD63
monochromatic
#5D1B6D #87279E #AF36CD #C367D9 #D698E5

Accessibility & contrast

On white

4.96
#AF36CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#AF36CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF36CD
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF36CD#FFFFFF#000000##FFFFFF
##AF36CD1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#3F74CA
Tritanopia (blue-blind)
#AF557F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af36cd;
/* rgb */ color: rgb(175, 54, 205);
/* oklch */ color: oklch(57.5% 0.231 318.7);
Tailwind
colors: {
  custom: {
    50: '#cb79dd',
    500: '#af36cd',
    950: '#000000',
  },
}
SCSS
$custom: #af36cd;
$custom-light: #cb79dd;
$custom-dark: #000000;
JSON
{
  "hex": "#af36cd",
  "rgb": {
    "r": 175,
    "g": 54,
    "b": 205
  },
  "hsl": {
    "h": 288.079,
    "s": 60.159,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57482,
    "c": 0.23149,
    "h": 318.7
  },
  "luminance": 0.1616
}

Semantic roles & 50–950 ramp

primary
#AF36CD
secondary
#9BD18E
accent
#E34464
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #AF36CD

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

Preview Lab → · Contrast checker → · Palette generator →

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