#AF4BAD#AF4BAD

#AF4BAD is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.8% C 0.177 H 328.3°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#AF4BAD
RGBrgb(175, 75, 173)
HSLhsl(301, 40%, 49%)
HSVhsv(301, 57%, 69%)
CMYKcmyk(0%, 57.1%, 1.1%, 31.4%)
CIE-LABlab(48.47, 53.77, -33.72)
CIE-LCHlch(48.47, 63.47, 327.91°)
OKLaboklab(57.83% 0.1504 -0.0927)
OKLCHoklch(57.83% 0.177 328.3)
XYZxyz(27.7377, 17.1650, 41.3793)
Luminance0.1716 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4BAD #4BAF4D
analogous
#7F4BAF #AF4BAD #AF4B7B
triadic
#AF4BAD #ADAF4B #4BADAF
tetradic
#AF4BAD #AF7F4B #4BAF4D #4B7BAF
square
#AF4BAD #AF7F4B #4BAF4D #4B7BAF
split-complementary
#AF4BAD #7BAF4B #4BAF7F
monochromatic
#592658 #843983 #AF4BAD #C374C2 #D69FD5

Accessibility & contrast

On white

4.74
#AF4BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#AF4BAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4BAD
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4BAD#FFFFFF#000000##FFFFFF
##AF4BAD1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426BB0
Deuteranopia (green-blind)
#6278AA
Tritanopia (blue-blind)
#B45675
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af4bad;
/* rgb */ color: rgb(175, 75, 173);
/* oklch */ color: oklch(57.8% 0.177 328.3);
Tailwind
colors: {
  custom: {
    50: '#c983c6',
    500: '#af4bad',
    950: '#000000',
  },
}
SCSS
$custom: #af4bad;
$custom-light: #c983c6;
$custom-dark: #000000;
JSON
{
  "hex": "#af4bad",
  "rgb": {
    "r": 175,
    "g": 75,
    "b": 173
  },
  "hsl": {
    "h": 301.2,
    "s": 40,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57833,
    "c": 0.17672,
    "h": 328.3
  },
  "luminance": 0.17163
}

Semantic roles & 50–950 ramp

primary
#AF4BAD
secondary
#93C294
accent
#D05A58
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #AF4BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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