#AF44C5#AF44C5

#AF44C5 is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.3% C 0.208 H 320.4°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#AF44C5
RGBrgb(175, 68, 197)
HSLhsl(290, 53%, 52%)
HSVhsv(290, 65%, 77%)
CMYKcmyk(11.2%, 65.5%, 0%, 22.7%)
CIE-LABlab(48.61, 61.26, -47.47)
CIE-LCHlch(48.61, 77.50, 322.23°)
OKLaboklab(58.35% 0.1602 -0.1326)
OKLCHoklch(58.35% 0.208 320.4)
XYZxyz(29.8232, 17.2809, 54.5771)
Luminance0.1728 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF44C5 #5AC544
analogous
#6E44C5 #AF44C5 #C5449B
triadic
#AF44C5 #C5AF44 #44C5AF
tetradic
#AF44C5 #C56E44 #5AC544 #449BC5
square
#AF44C5 #C56E44 #5AC544 #449BC5
split-complementary
#AF44C5 #9BC544 #44C56E
monochromatic
#60226D #89309C #AF44C5 #C373D3 #D7A1E2

Accessibility & contrast

On white

4.71
#AF44C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#AF44C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF44C5
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF44C5#FFFFFF#000000##FFFFFF
##AF44C51.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C6CC9
Deuteranopia (green-blind)
#5077C2
Tritanopia (blue-blind)
#B05A7F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af44c5;
/* rgb */ color: rgb(175, 68, 197);
/* oklch */ color: oklch(58.3% 0.208 320.4);
Tailwind
colors: {
  custom: {
    50: '#ca80d7',
    500: '#af44c5',
    950: '#000000',
  },
}
SCSS
$custom: #af44c5;
$custom-light: #ca80d7;
$custom-dark: #000000;
JSON
{
  "hex": "#af44c5",
  "rgb": {
    "r": 175,
    "g": 68,
    "b": 197
  },
  "hsl": {
    "h": 289.767,
    "s": 52.653,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58349,
    "c": 0.20795,
    "h": 320.4
  },
  "luminance": 0.17279
}

Semantic roles & 50–950 ramp

primary
#AF44C5
secondary
#A0CF96
accent
#DC4C64
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #AF44C5

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

Preview Lab → · Contrast checker → · Palette generator →

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