#AF44BB#AF44BB

#AF44BB is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.8% C 0.199 H 323.5°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#AF44BB
RGBrgb(175, 68, 187)
HSLhsl(294, 47%, 50%)
HSVhsv(294, 64%, 73%)
CMYKcmyk(6.4%, 63.6%, 0%, 26.7%)
CIE-LABlab(48.05, 59.40, -42.56)
CIE-LCHlch(48.05, 73.07, 324.38°)
OKLaboklab(57.77% 0.1601 -0.1183)
OKLCHoklch(57.77% 0.199 323.5)
XYZxyz(28.7151, 16.8377, 48.7416)
Luminance0.1684 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF44BB #50BB44
analogous
#7444BB #AF44BB #BB448B
triadic
#AF44BB #BBAF44 #44BBAF
tetradic
#AF44BB #BB7444 #50BB44 #448BBB
square
#AF44BB #BB7444 #50BB44 #448BBB
split-complementary
#AF44BB #8BBB44 #44BB74
monochromatic
#5B2361 #85348E #AF44BB #C271CB #D59EDC

Accessibility & contrast

On white

4.81
#AF44BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#AF44BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF44BB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF44BB#FFFFFF#000000##FFFFFF
##AF44BB1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6ABF
Deuteranopia (green-blind)
#5676B8
Tritanopia (blue-blind)
#B2567A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af44bb;
/* rgb */ color: rgb(175, 68, 187);
/* oklch */ color: oklch(57.8% 0.199 323.5);
Tailwind
colors: {
  custom: {
    50: '#ca7fd0',
    500: '#af44bb',
    950: '#000000',
  },
}
SCSS
$custom: #af44bb;
$custom-light: #ca7fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#af44bb",
  "rgb": {
    "r": 175,
    "g": 68,
    "b": 187
  },
  "hsl": {
    "h": 293.95,
    "s": 46.667,
    "l": 50
  },
  "oklch": {
    "l": 0.57767,
    "c": 0.19905,
    "h": 323.5
  },
  "luminance": 0.16836
}

Semantic roles & 50–950 ramp

primary
#AF44BB
secondary
#98C893
accent
#D6515F
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #AF44BB

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

Preview Lab → · Contrast checker → · Palette generator →

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