#AF4AC3#AF4AC3

#AF4AC3 is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.9% C 0.198 H 320.7°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#AF4AC3
RGBrgb(175, 74, 195)
HSLhsl(290, 50%, 53%)
HSVhsv(290, 62%, 76%)
CMYKcmyk(10.3%, 62.1%, 0%, 23.5%)
CIE-LABlab(49.44, 58.28, -45.00)
CIE-LCHlch(49.44, 73.63, 322.33°)
OKLaboklab(58.91% 0.1532 -0.1254)
OKLCHoklch(58.91% 0.198 320.7)
XYZxyz(29.9771, 17.9531, 53.5055)
Luminance0.1795 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4AC3 #5EC34A
analogous
#734AC3 #AF4AC3 #C34A9A
triadic
#AF4AC3 #C3AF4A #4AC3AF
tetradic
#AF4AC3 #C3734A #5EC34A #4A9AC3
square
#AF4AC3 #C3734A #5EC34A #4A9AC3
split-complementary
#AF4AC3 #9AC34A #4AC373
monochromatic
#62246E #8B349C #AF4AC3 #C378D2 #D8A6E1

Accessibility & contrast

On white

4.57
#AF4AC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#AF4AC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4AC3
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4AC3#FFFFFF#000000##000000
##AF4AC31.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C6EC7
Deuteranopia (green-blind)
#5679C0
Tritanopia (blue-blind)
#B05D80
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #af4ac3;
/* rgb */ color: rgb(175, 74, 195);
/* oklch */ color: oklch(58.9% 0.198 320.7);
Tailwind
colors: {
  custom: {
    50: '#ca83d6',
    500: '#af4ac3',
    950: '#000000',
  },
}
SCSS
$custom: #af4ac3;
$custom-light: #ca83d6;
$custom-dark: #000000;
JSON
{
  "hex": "#af4ac3",
  "rgb": {
    "r": 175,
    "g": 74,
    "b": 195
  },
  "hsl": {
    "h": 290.083,
    "s": 50.207,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5891,
    "c": 0.198,
    "h": 320.7
  },
  "luminance": 0.17952
}

Semantic roles & 50–950 ramp

primary
#AF4AC3
secondary
#A3CF9A
accent
#DA4E65
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #AF4AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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