#AF44BA#AF44BA

#AF44BA is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.7% C 0.198 H 323.9°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#AF44BA
RGBrgb(175, 68, 186)
HSLhsl(294, 46%, 50%)
HSVhsv(294, 63%, 73%)
CMYKcmyk(5.9%, 63.4%, 0%, 27.1%)
CIE-LABlab(48.00, 59.22, -42.06)
CIE-LCHlch(48.00, 72.64, 324.62°)
OKLaboklab(57.71% 0.1601 -0.1168)
OKLCHoklch(57.71% 0.198 323.9)
XYZxyz(28.6085, 16.7950, 48.1797)
Luminance0.1679 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF44BA #4FBA44
analogous
#7444BA #AF44BA #BA448A
triadic
#AF44BA #BAAF44 #44BAAF
tetradic
#AF44BA #BA7444 #4FBA44 #448ABA
square
#AF44BA #BA7444 #4FBA44 #448ABA
split-complementary
#AF44BA #8ABA44 #44BA74
monochromatic
#5B2360 #85348D #AF44BA #C270CB #D59DDB

Accessibility & contrast

On white

4.82
#AF44BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#AF44BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF44BA
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF44BA#FFFFFF#000000##FFFFFF
##AF44BA1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6ABE
Deuteranopia (green-blind)
#5776B7
Tritanopia (blue-blind)
#B25679
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af44ba;
/* rgb */ color: rgb(175, 68, 186);
/* oklch */ color: oklch(57.7% 0.198 323.9);
Tailwind
colors: {
  custom: {
    50: '#ca7fcf',
    500: '#af44ba',
    950: '#000000',
  },
}
SCSS
$custom: #af44ba;
$custom-light: #ca7fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#af44ba",
  "rgb": {
    "r": 175,
    "g": 68,
    "b": 186
  },
  "hsl": {
    "h": 294.407,
    "s": 46.457,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5771,
    "c": 0.19817,
    "h": 323.9
  },
  "luminance": 0.16793
}

Semantic roles & 50–950 ramp

primary
#AF44BA
secondary
#97C892
accent
#D6525E
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #AF44BA

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

Preview Lab → · Contrast checker → · Palette generator →

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