#AF48AA#AF48AA

#AF48AA is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.3% C 0.179 H 329.5°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#AF48AA
RGBrgb(175, 72, 170)
HSLhsl(303, 42%, 48%)
HSVhsv(303, 59%, 69%)
CMYKcmyk(0%, 58.9%, 2.9%, 31.4%)
CIE-LABlab(47.82, 54.62, -32.97)
CIE-LCHlch(47.82, 63.80, 328.88°)
OKLaboklab(57.31% 0.154 -0.0906)
OKLCHoklch(57.31% 0.179 329.5)
XYZxyz(27.2520, 16.6528, 39.8013)
Luminance0.1665 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF48AA #48AF4D
analogous
#8048AF #AF48AA #AF4876
triadic
#AF48AA #AAAF48 #48AAAF
tetradic
#AF48AA #AF8048 #48AF4D #4876AF
square
#AF48AA #AF8048 #48AF4D #4876AF
split-complementary
#AF48AA #76AF48 #48AF80
monochromatic
#582456 #843680 #AF48AA #C470C0 #D69BD3

Accessibility & contrast

On white

4.85
#AF48AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#AF48AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF48AA
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF48AA#FFFFFF#000000##FFFFFF
##AF48AA1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4069AD
Deuteranopia (green-blind)
#6276A7
Tritanopia (blue-blind)
#B55372
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af48aa;
/* rgb */ color: rgb(175, 72, 170);
/* oklch */ color: oklch(57.3% 0.179 329.5);
Tailwind
colors: {
  custom: {
    50: '#ca81c3',
    500: '#af48aa',
    950: '#000000',
  },
}
SCSS
$custom: #af48aa;
$custom-light: #ca81c3;
$custom-dark: #000000;
JSON
{
  "hex": "#af48aa",
  "rgb": {
    "r": 175,
    "g": 72,
    "b": 170
  },
  "hsl": {
    "h": 302.913,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57312,
    "c": 0.17862,
    "h": 329.5
  },
  "luminance": 0.16651
}

Semantic roles & 50–950 ramp

primary
#AF48AA
secondary
#90C293
accent
#D25C56
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B12
muted
#827C81

Preview Lab

Preview with #AF48AA

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

Preview Lab → · Contrast checker → · Palette generator →

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