#AF449F#AF449F

#AF449F is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.3% C 0.176 H 333.9°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#AF449F
RGBrgb(175, 68, 159)
HSLhsl(309, 44%, 48%)
HSVhsv(309, 61%, 69%)
CMYKcmyk(0%, 61.1%, 9.1%, 31.4%)
CIE-LABlab(46.65, 54.55, -28.29)
CIE-LCHlch(46.65, 61.45, 332.59°)
OKLaboklab(56.29% 0.1577 -0.0771)
OKLCHoklch(56.29% 0.176 333.9)
XYZxyz(26.0044, 15.7534, 34.4652)
Luminance0.1575 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF449F #44AF54
analogous
#8944AF #AF449F #AF4469
triadic
#AF449F #9FAF44 #449FAF
tetradic
#AF449F #AF8944 #44AF54 #4469AF
square
#AF449F #AF8944 #44AF54 #4469AF
split-complementary
#AF449F #69AF44 #44AF89
monochromatic
#57224F #833377 #AF449F #C56BB8 #D797CD

Accessibility & contrast

On white

5.06
#AF449F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#AF449F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF449F
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF449F#FFFFFF#000000##FFFFFF
##AF449F1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4265A2
Deuteranopia (green-blind)
#64749C
Tritanopia (blue-blind)
#B74C6B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af449f;
/* rgb */ color: rgb(175, 68, 159);
/* oklch */ color: oklch(56.3% 0.176 333.9);
Tailwind
colors: {
  custom: {
    50: '#ca7fbb',
    500: '#af449f',
    950: '#000000',
  },
}
SCSS
$custom: #af449f;
$custom-light: #ca7fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#af449f",
  "rgb": {
    "r": 175,
    "g": 68,
    "b": 159
  },
  "hsl": {
    "h": 308.972,
    "s": 44.033,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56287,
    "c": 0.17552,
    "h": 333.9
  },
  "luminance": 0.15751
}

Semantic roles & 50–950 ramp

primary
#AF449F
secondary
#8CC294
accent
#D46754
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140A12
muted
#827C81

Preview Lab

Preview with #AF449F

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

Preview Lab → · Contrast checker → · Palette generator →

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