#AF44C2#AF44C2

#AF44C2 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.2% C 0.205 H 321.3°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#AF44C2
RGBrgb(175, 68, 194)
HSLhsl(291, 51%, 51%)
HSVhsv(291, 65%, 76%)
CMYKcmyk(9.8%, 64.9%, 0%, 23.9%)
CIE-LABlab(48.44, 60.70, -46.01)
CIE-LCHlch(48.44, 76.16, 322.84°)
OKLaboklab(58.17% 0.1602 -0.1283)
OKLCHoklch(58.17% 0.205 321.3)
XYZxyz(29.4828, 17.1447, 52.7848)
Luminance0.1714 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF44C2 #57C244
analogous
#7044C2 #AF44C2 #C24496
triadic
#AF44C2 #C2AF44 #44C2AF
tetradic
#AF44C2 #C27044 #57C244 #4496C2
square
#AF44C2 #C27044 #57C244 #4496C2
split-complementary
#AF44C2 #96C244 #44C270
monochromatic
#5F2269 #883197 #AF44C2 #C372D1 #D6A0E0

Accessibility & contrast

On white

4.74
#AF44C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#AF44C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF44C2
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF44C2#FFFFFF#000000##FFFFFF
##AF44C21.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#226BC6
Deuteranopia (green-blind)
#5277BF
Tritanopia (blue-blind)
#B1597D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af44c2;
/* rgb */ color: rgb(175, 68, 194);
/* oklch */ color: oklch(58.2% 0.205 321.3);
Tailwind
colors: {
  custom: {
    50: '#ca80d5',
    500: '#af44c2',
    950: '#000000',
  },
}
SCSS
$custom: #af44c2;
$custom-light: #ca80d5;
$custom-dark: #000000;
JSON
{
  "hex": "#af44c2",
  "rgb": {
    "r": 175,
    "g": 68,
    "b": 194
  },
  "hsl": {
    "h": 290.952,
    "s": 50.806,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58171,
    "c": 0.20526,
    "h": 321.3
  },
  "luminance": 0.17143
}

Semantic roles & 50–950 ramp

primary
#AF44C2
secondary
#9ECD95
accent
#DA4E63
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #AF44C2

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

Preview Lab → · Contrast checker → · Palette generator →

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