#AF459F#AF459F

#AF459F is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.4% C 0.174 H 334.0°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#AF459F
RGBrgb(175, 69, 159)
HSLhsl(309, 43%, 48%)
HSVhsv(309, 61%, 69%)
CMYKcmyk(0%, 60.6%, 9.1%, 31.4%)
CIE-LABlab(46.81, 54.11, -28.04)
CIE-LCHlch(46.81, 60.94, 332.61°)
OKLaboklab(56.41% 0.1564 -0.0764)
OKLCHoklch(56.41% 0.174 334)
XYZxyz(26.0654, 15.8754, 34.4856)
Luminance0.1587 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF459F #45AF55
analogous
#8A45AF #AF459F #AF456A
triadic
#AF459F #9FAF45 #459FAF
tetradic
#AF459F #AF8A45 #45AF55 #456AAF
square
#AF459F #AF8A45 #45AF55 #456AAF
split-complementary
#AF459F #6AAF45 #45AF8A
monochromatic
#57224F #833477 #AF459F #C56CB8 #D698CD

Accessibility & contrast

On white

5.03
#AF459F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#AF459F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF459F
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF459F#FFFFFF#000000##FFFFFF
##AF459F1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4365A2
Deuteranopia (green-blind)
#65759C
Tritanopia (blue-blind)
#B74C6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af459f;
/* rgb */ color: rgb(175, 69, 159);
/* oklch */ color: oklch(56.4% 0.174 334.0);
Tailwind
colors: {
  custom: {
    50: '#ca7fbb',
    500: '#af459f',
    950: '#000000',
  },
}
SCSS
$custom: #af459f;
$custom-light: #ca7fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#af459f",
  "rgb": {
    "r": 175,
    "g": 69,
    "b": 159
  },
  "hsl": {
    "h": 309.057,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56405,
    "c": 0.17405,
    "h": 334
  },
  "luminance": 0.15873
}

Semantic roles & 50–950 ramp

primary
#AF459F
secondary
#8DC295
accent
#D36855
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140A12
muted
#827C81

Preview Lab

Preview with #AF459F

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

Preview Lab → · Contrast checker → · Palette generator →

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