#AF449E#AF449E

#AF449E is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.2% C 0.175 H 334.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#AF449E
RGBrgb(175, 68, 158)
HSLhsl(310, 44%, 48%)
HSVhsv(310, 61%, 69%)
CMYKcmyk(0%, 61.1%, 9.7%, 31.4%)
CIE-LABlab(46.60, 54.39, -27.76)
CIE-LCHlch(46.60, 61.07, 332.96°)
OKLaboklab(56.24% 0.1575 -0.0756)
OKLCHoklch(56.24% 0.175 334.4)
XYZxyz(25.9180, 15.7188, 34.0101)
Luminance0.1572 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF449E #44AF55
analogous
#8B44AF #AF449E #AF4468
triadic
#AF449E #9EAF44 #449EAF
tetradic
#AF449E #AF8B44 #44AF55 #4468AF
square
#AF449E #AF8B44 #44AF55 #4468AF
split-complementary
#AF449E #68AF44 #44AF8B
monochromatic
#57224E #833376 #AF449E #C56BB7 #D797CC

Accessibility & contrast

On white

5.07
#AF449E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#AF449E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF449E
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF449E#FFFFFF#000000##FFFFFF
##AF449E1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4364A1
Deuteranopia (green-blind)
#65749B
Tritanopia (blue-blind)
#B74B6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af449e;
/* rgb */ color: rgb(175, 68, 158);
/* oklch */ color: oklch(56.2% 0.175 334.4);
Tailwind
colors: {
  custom: {
    50: '#ca7ebb',
    500: '#af449e',
    950: '#000000',
  },
}
SCSS
$custom: #af449e;
$custom-light: #ca7ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#af449e",
  "rgb": {
    "r": 175,
    "g": 68,
    "b": 158
  },
  "hsl": {
    "h": 309.533,
    "s": 44.033,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56239,
    "c": 0.17474,
    "h": 334.4
  },
  "luminance": 0.15717
}

Semantic roles & 50–950 ramp

primary
#AF449E
secondary
#8CC295
accent
#D46854
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140A12
muted
#827C81

Preview Lab

Preview with #AF449E

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

Preview Lab → · Contrast checker → · Palette generator →

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