#AF4EA3#AF4EA3

#AF4EA3 is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.7% C 0.164 H 332.4°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#AF4EA3
RGBrgb(175, 78, 163)
HSLhsl(307, 38%, 50%)
HSVhsv(307, 55%, 69%)
CMYKcmyk(0%, 55.4%, 6.9%, 31.4%)
CIE-LABlab(48.52, 50.63, -27.74)
CIE-LCHlch(48.52, 57.73, 331.28°)
OKLaboklab(57.72% 0.145 -0.0756)
OKLCHoklch(57.72% 0.164 332.4)
XYZxyz(27.0144, 17.2089, 36.5420)
Luminance0.1721 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4EA3 #4EAF5A
analogous
#8B4EAF #AF4EA3 #AF4E72
triadic
#AF4EA3 #A3AF4E #4EA3AF
tetradic
#AF4EA3 #AF8B4E #4EAF5A #4E72AF
square
#AF4EA3 #AF8B4E #4EAF5A #4E72AF
split-complementary
#AF4EA3 #72AF4E #4EAF8B
monochromatic
#5A2854 #853B7C #AF4EA3 #C378B9 #D6A2CF

Accessibility & contrast

On white

4.73
#AF4EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#AF4EA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4EA3
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4EA3#FFFFFF#000000##FFFFFF
##AF4EA31.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af4ea3;
/* rgb */ color: rgb(175, 78, 163);
/* oklch */ color: oklch(57.7% 0.164 332.4);
Tailwind
colors: {
  custom: {
    50: '#c984be',
    500: '#af4ea3',
    950: '#000000',
  },
}
SCSS
$custom: #af4ea3;
$custom-light: #c984be;
$custom-dark: #000000;
JSON
{
  "hex": "#af4ea3",
  "rgb": {
    "r": 175,
    "g": 78,
    "b": 163
  },
  "hsl": {
    "h": 307.423,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57721,
    "c": 0.16351,
    "h": 332.4
  },
  "luminance": 0.17207
}

Semantic roles & 50–950 ramp

primary
#AF4EA3
secondary
#96C39C
accent
#CE685A
background
#FCF8FB
surface
#F9EFF7
border
#D2CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #AF4EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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