#AF44D2#AF44D2

#AF44D2 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.1% C 0.220 H 316.6°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#AF44D2
RGBrgb(175, 68, 210)
HSLhsl(285, 61%, 55%)
HSVhsv(285, 68%, 82%)
CMYKcmyk(16.7%, 67.6%, 0%, 17.6%)
CIE-LABlab(49.38, 63.76, -53.73)
CIE-LCHlch(49.38, 83.38, 319.88°)
OKLaboklab(59.15% 0.1597 -0.1509)
OKLCHoklch(59.15% 0.22 316.6)
XYZxyz(31.3774, 17.9026, 62.7630)
Luminance0.1790 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF44D2 #67D244
analogous
#6844D2 #AF44D2 #D244AE
triadic
#AF44D2 #D2AF44 #44D2AF
tetradic
#AF44D2 #D26844 #67D244 #44AED2
square
#AF44D2 #D26844 #67D244 #44AED2
split-complementary
#AF44D2 #AED244 #44D268
monochromatic
#661E7D #8E2AAF #AF44D2 #C475DE #D9A7EA

Accessibility & contrast

On white

4.58
#AF44D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#AF44D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF44D2
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF44D2#FFFFFF#000000##000000
##AF44D21.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#006FD6
Deuteranopia (green-blind)
#4578CF
Tritanopia (blue-blind)
#AD5F86
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #af44d2;
/* rgb */ color: rgb(175, 68, 210);
/* oklch */ color: oklch(59.1% 0.220 316.6);
Tailwind
colors: {
  custom: {
    50: '#cb80e0',
    500: '#af44d2',
    950: '#000000',
  },
}
SCSS
$custom: #af44d2;
$custom-light: #cb80e0;
$custom-dark: #000000;
JSON
{
  "hex": "#af44d2",
  "rgb": {
    "r": 175,
    "g": 68,
    "b": 210
  },
  "hsl": {
    "h": 285.211,
    "s": 61.207,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59145,
    "c": 0.21974,
    "h": 316.6
  },
  "luminance": 0.17901
}

Semantic roles & 50–950 ramp

primary
#AF44D2
secondary
#AAD79B
accent
#E4436B
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF44D2

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

Preview Lab → · Contrast checker → · Palette generator →

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