#AF4DA3#AF4DA3

#AF4DA3 is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.6% C 0.165 H 332.4°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#AF4DA3
RGBrgb(175, 77, 163)
HSLhsl(307, 39%, 49%)
HSVhsv(307, 56%, 69%)
CMYKcmyk(0%, 56%, 6.9%, 31.4%)
CIE-LABlab(48.35, 51.10, -28.02)
CIE-LCHlch(48.35, 58.28, 331.27°)
OKLaboklab(57.59% 0.1463 -0.0764)
OKLCHoklch(57.59% 0.165 332.4)
XYZxyz(26.9439, 17.0679, 36.5185)
Luminance0.1707 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4DA3 #4DAF59
analogous
#8A4DAF #AF4DA3 #AF4D72
triadic
#AF4DA3 #A3AF4D #4DA3AF
tetradic
#AF4DA3 #AF8A4D #4DAF59 #4D72AF
square
#AF4DA3 #AF8A4D #4DAF59 #4D72AF
split-complementary
#AF4DA3 #72AF4D #4DAF8A
monochromatic
#5A2854 #853A7B #AF4DA3 #C376B9 #D6A1CF

Accessibility & contrast

On white

4.76
#AF4DA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#AF4DA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4DA3
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4DA3#FFFFFF#000000##FFFFFF
##AF4DA31.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6AA6
Deuteranopia (green-blind)
#6878A0
Tritanopia (blue-blind)
#B65471
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af4da3;
/* rgb */ color: rgb(175, 77, 163);
/* oklch */ color: oklch(57.6% 0.165 332.4);
Tailwind
colors: {
  custom: {
    50: '#c984be',
    500: '#af4da3',
    950: '#000000',
  },
}
SCSS
$custom: #af4da3;
$custom-light: #c984be;
$custom-dark: #000000;
JSON
{
  "hex": "#af4da3",
  "rgb": {
    "r": 175,
    "g": 77,
    "b": 163
  },
  "hsl": {
    "h": 307.347,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57591,
    "c": 0.1651,
    "h": 332.4
  },
  "luminance": 0.17066
}

Semantic roles & 50–950 ramp

primary
#AF4DA3
secondary
#95C39B
accent
#CF6759
background
#FCF8FB
surface
#F9EFF7
border
#D2CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #AF4DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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