#AF44DC#AF44DC

#AF44DC is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.8% C 0.229 H 314.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#AF44DC
RGBrgb(175, 68, 220)
HSLhsl(282, 68%, 56%)
HSVhsv(282, 69%, 86%)
CMYKcmyk(20.5%, 69.1%, 0%, 13.7%)
CIE-LABlab(50.00, 65.75, -58.44)
CIE-LCHlch(50.00, 87.96, 318.37°)
OKLaboklab(59.79% 0.159 -0.1647)
OKLCHoklch(59.79% 0.229 314)
XYZxyz(32.6624, 18.4166, 69.5305)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF44DC #71DC44
analogous
#6344DC #AF44DC #DC44BD
triadic
#AF44DC #DCAF44 #44DCAF
tetradic
#AF44DC #DC6344 #71DC44 #44BDDC
square
#AF44DC #DC6344 #71DC44 #44BDDC
split-complementary
#AF44DC #BDDC44 #44DC63
monochromatic
#6A1A8B #9124BF #AF44DC #C578E6 #DBABEF

Accessibility & contrast

On white

4.48
#AF44DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#AF44DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF44DC
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF44DC#FFFFFF#000000##000000
##AF44DC1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071E0
Deuteranopia (green-blind)
#3B79D9
Tritanopia (blue-blind)
#AB638B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #af44dc;
/* rgb */ color: rgb(175, 68, 220);
/* oklch */ color: oklch(59.8% 0.229 314.0);
Tailwind
colors: {
  custom: {
    50: '#cb80e8',
    500: '#af44dc',
    950: '#000000',
  },
}
SCSS
$custom: #af44dc;
$custom-light: #cb80e8;
$custom-dark: #000000;
JSON
{
  "hex": "#af44dc",
  "rgb": {
    "r": 175,
    "g": 68,
    "b": 220
  },
  "hsl": {
    "h": 282.237,
    "s": 68.468,
    "l": 56.471
  },
  "oklch": {
    "l": 0.59787,
    "c": 0.22893,
    "h": 314
  },
  "luminance": 0.18416
}

Semantic roles & 50–950 ramp

primary
#AF44DC
secondary
#B1DD9F
accent
#EB3C70
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AF44DC

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

Preview Lab → · Contrast checker → · Palette generator →

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