#AF4DA1#AF4DA1

#AF4DA1 is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.5% C 0.163 H 333.3°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#AF4DA1
RGBrgb(175, 77, 161)
HSLhsl(309, 39%, 49%)
HSVhsv(309, 56%, 69%)
CMYKcmyk(0%, 56%, 8%, 31.4%)
CIE-LABlab(48.26, 50.77, -26.97)
CIE-LCHlch(48.26, 57.49, 332.02°)
OKLaboklab(57.5% 0.146 -0.0735)
OKLCHoklch(57.5% 0.163 333.3)
XYZxyz(26.7661, 16.9968, 35.5822)
Luminance0.1699 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4DA1 #4DAF5B
analogous
#8C4DAF #AF4DA1 #AF4D70
triadic
#AF4DA1 #A1AF4D #4DA1AF
tetradic
#AF4DA1 #AF8C4D #4DAF5B #4D70AF
square
#AF4DA1 #AF8C4D #4DAF5B #4D70AF
split-complementary
#AF4DA1 #70AF4D #4DAF8C
monochromatic
#5A2853 #853A7A #AF4DA1 #C376B8 #D6A1CE

Accessibility & contrast

On white

4.77
#AF4DA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#AF4DA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4DA1
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4DA1#FFFFFF#000000##FFFFFF
##AF4DA11.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6AA4
Deuteranopia (green-blind)
#69789E
Tritanopia (blue-blind)
#B65470
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af4da1;
/* rgb */ color: rgb(175, 77, 161);
/* oklch */ color: oklch(57.5% 0.163 333.3);
Tailwind
colors: {
  custom: {
    50: '#c984bd',
    500: '#af4da1',
    950: '#000000',
  },
}
SCSS
$custom: #af4da1;
$custom-light: #c984bd;
$custom-dark: #000000;
JSON
{
  "hex": "#af4da1",
  "rgb": {
    "r": 175,
    "g": 77,
    "b": 161
  },
  "hsl": {
    "h": 308.571,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57496,
    "c": 0.16344,
    "h": 333.3
  },
  "luminance": 0.16995
}

Semantic roles & 50–950 ramp

primary
#AF4DA1
secondary
#95C39C
accent
#CF6A59
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #AF4DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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