#AF4AA3#AF4AA3

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

Color values

HEX#AF4AA3
RGBrgb(175, 74, 163)
HSLhsl(307, 41%, 49%)
HSVhsv(307, 58%, 69%)
CMYKcmyk(0%, 57.7%, 6.9%, 31.4%)
CIE-LABlab(47.83, 52.51, -28.83)
CIE-LCHlch(47.83, 59.90, 331.23°)
OKLaboklab(57.21% 0.1504 -0.0787)
OKLCHoklch(57.21% 0.17 332.4)
XYZxyz(26.7388, 16.6577, 36.4502)
Luminance0.1666 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4AA3 #4AAF56
analogous
#894AAF #AF4AA3 #AF4A71
triadic
#AF4AA3 #A3AF4A #4AA3AF
tetradic
#AF4AA3 #AF894A #4AAF56 #4A71AF
square
#AF4AA3 #AF894A #4AAF56 #4A71AF
split-complementary
#AF4AA3 #71AF4A #4AAF89
monochromatic
#592653 #84387B #AF4AA3 #C473BA #D69ECF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF4AA3#FFFFFF#000000##FFFFFF
##AF4AA31.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)
#4768A6
Deuteranopia (green-blind)
#6677A0
Tritanopia (blue-blind)
#B65270
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af4aa3;
/* rgb */ color: rgb(175, 74, 163);
/* oklch */ color: oklch(57.2% 0.170 332.4);
Tailwind
colors: {
  custom: {
    50: '#c982be',
    500: '#af4aa3',
    950: '#000000',
  },
}
SCSS
$custom: #af4aa3;
$custom-light: #c982be;
$custom-dark: #000000;
JSON
{
  "hex": "#af4aa3",
  "rgb": {
    "r": 175,
    "g": 74,
    "b": 163
  },
  "hsl": {
    "h": 307.129,
    "s": 40.562,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57209,
    "c": 0.16975,
    "h": 332.4
  },
  "luminance": 0.16656
}

Semantic roles & 50–950 ramp

primary
#AF4AA3
secondary
#92C298
accent
#D06657
background
#FCF8FB
surface
#F9EFF7
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #AF4AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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