#AF44C7#AF44C7

#AF44C7 is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.5% C 0.210 H 319.8°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#AF44C7
RGBrgb(175, 68, 199)
HSLhsl(289, 54%, 52%)
HSVhsv(289, 66%, 78%)
CMYKcmyk(12.1%, 65.8%, 0%, 22%)
CIE-LABlab(48.73, 61.64, -48.44)
CIE-LCHlch(48.73, 78.40, 321.84°)
OKLaboklab(58.47% 0.1602 -0.1354)
OKLCHoklch(58.47% 0.21 319.8)
XYZxyz(30.0538, 17.3731, 55.7920)
Luminance0.1737 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF44C7 #5CC744
analogous
#6E44C7 #AF44C7 #C7449D
triadic
#AF44C7 #C7AF44 #44C7AF
tetradic
#AF44C7 #C76E44 #5CC744 #449DC7
square
#AF44C7 #C76E44 #5CC744 #449DC7
split-complementary
#AF44C7 #9DC744 #44C76E
monochromatic
#61216F #8A2F9E #AF44C7 #C373D5 #D7A2E3

Accessibility & contrast

On white

4.69
#AF44C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#AF44C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF44C7
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF44C7#FFFFFF#000000##FFFFFF
##AF44C71.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#186CCB
Deuteranopia (green-blind)
#4E77C4
Tritanopia (blue-blind)
#B05B80
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af44c7;
/* rgb */ color: rgb(175, 68, 199);
/* oklch */ color: oklch(58.5% 0.210 319.8);
Tailwind
colors: {
  custom: {
    50: '#ca80d8',
    500: '#af44c7',
    950: '#000000',
  },
}
SCSS
$custom: #af44c7;
$custom-light: #ca80d8;
$custom-dark: #000000;
JSON
{
  "hex": "#af44c7",
  "rgb": {
    "r": 175,
    "g": 68,
    "b": 199
  },
  "hsl": {
    "h": 289.008,
    "s": 53.909,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58468,
    "c": 0.20975,
    "h": 319.8
  },
  "luminance": 0.17372
}

Semantic roles & 50–950 ramp

primary
#AF44C7
secondary
#A1D097
accent
#DD4B65
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF44C7

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

Preview Lab → · Contrast checker → · Palette generator →

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