#AF499F#AF499F

#AF499F is a mid, vivid purple. Relative luminance 0.164; OKLCH L 56.9% C 0.168 H 334.1°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#AF499F
RGBrgb(175, 73, 159)
HSLhsl(309, 41%, 49%)
HSVhsv(309, 58%, 69%)
CMYKcmyk(0%, 58.3%, 9.1%, 31.4%)
CIE-LABlab(47.47, 52.30, -27.00)
CIE-LCHlch(47.47, 58.86, 332.69°)
OKLaboklab(56.89% 0.1511 -0.0735)
OKLCHoklch(56.89% 0.168 334.1)
XYZxyz(26.3198, 16.3842, 34.5704)
Luminance0.1638 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF499F #49AF59
analogous
#8C49AF #AF499F #AF496C
triadic
#AF499F #9FAF49 #499FAF
tetradic
#AF499F #AF8C49 #49AF59 #496CAF
square
#AF499F #AF8C49 #49AF59 #496CAF
split-complementary
#AF499F #6CAF49 #49AF8C
monochromatic
#592551 #843778 #AF499F #C471B7 #D69CCD

Accessibility & contrast

On white

4.91
#AF499F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#AF499F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF499F
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF499F#FFFFFF#000000##FFFFFF
##AF499F1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4867A2
Deuteranopia (green-blind)
#67769C
Tritanopia (blue-blind)
#B7506D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af499f;
/* rgb */ color: rgb(175, 73, 159);
/* oklch */ color: oklch(56.9% 0.168 334.1);
Tailwind
colors: {
  custom: {
    50: '#c981bb',
    500: '#af499f',
    950: '#000000',
  },
}
SCSS
$custom: #af499f;
$custom-light: #c981bb;
$custom-dark: #000000;
JSON
{
  "hex": "#af499f",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 159
  },
  "hsl": {
    "h": 309.412,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56892,
    "c": 0.16803,
    "h": 334.1
  },
  "luminance": 0.16382
}

Semantic roles & 50–950 ramp

primary
#AF499F
secondary
#91C299
accent
#D16A57
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #AF499F

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

Preview Lab → · Contrast checker → · Palette generator →

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