#AF44B2#AF44B2

#AF44B2 is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.3% C 0.191 H 326.6°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#AF44B2
RGBrgb(175, 68, 178)
HSLhsl(298, 45%, 48%)
HSVhsv(298, 62%, 70%)
CMYKcmyk(1.7%, 61.8%, 0%, 30.2%)
CIE-LABlab(47.58, 57.78, -38.05)
CIE-LCHlch(47.58, 69.19, 326.63°)
OKLaboklab(57.27% 0.1597 -0.1052)
OKLCHoklch(57.27% 0.191 326.6)
XYZxyz(27.7817, 16.4643, 43.8255)
Luminance0.1646 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF44B2 #47B244
analogous
#7844B2 #AF44B2 #B2447E
triadic
#AF44B2 #B2AF44 #44B2AF
tetradic
#AF44B2 #B27844 #47B244 #447EB2
square
#AF44B2 #B27844 #47B244 #447EB2
split-complementary
#AF44B2 #7EB244 #44B278
monochromatic
#582259 #833386 #AF44B2 #C46CC7 #D699D8

Accessibility & contrast

On white

4.89
#AF44B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#AF44B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF44B2
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF44B2#FFFFFF#000000##FFFFFF
##AF44B21.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3468B5
Deuteranopia (green-blind)
#5B76AF
Tritanopia (blue-blind)
#B45375
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af44b2;
/* rgb */ color: rgb(175, 68, 178);
/* oklch */ color: oklch(57.3% 0.191 326.6);
Tailwind
colors: {
  custom: {
    50: '#ca7fc9',
    500: '#af44b2',
    950: '#000000',
  },
}
SCSS
$custom: #af44b2;
$custom-light: #ca7fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#af44b2",
  "rgb": {
    "r": 175,
    "g": 68,
    "b": 178
  },
  "hsl": {
    "h": 298.364,
    "s": 44.715,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57266,
    "c": 0.19121,
    "h": 326.6
  },
  "luminance": 0.16463
}

Semantic roles & 50–950 ramp

primary
#AF44B2
secondary
#8FC48E
accent
#D45357
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #AF44B2

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

Preview Lab → · Contrast checker → · Palette generator →

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