#AF4DC4#AF4DC4

#AF4DC4 is a mid, vivid purple. Relative luminance 0.184; OKLCH L 59.3% C 0.195 H 320.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#AF4DC4
RGBrgb(175, 77, 196)
HSLhsl(289, 50%, 54%)
HSVhsv(289, 61%, 77%)
CMYKcmyk(10.7%, 60.7%, 0%, 23.1%)
CIE-LABlab(49.99, 57.12, -44.70)
CIE-LCHlch(49.99, 72.53, 321.95°)
OKLaboklab(59.33% 0.1496 -0.1246)
OKLCHoklch(59.33% 0.195 320.2)
XYZxyz(30.2957, 18.4086, 54.1713)
Luminance0.1841 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4DC4 #62C44D
analogous
#734DC4 #AF4DC4 #C44D9D
triadic
#AF4DC4 #C4AF4D #4DC4AF
tetradic
#AF4DC4 #C4734D #62C44D #4D9DC4
square
#AF4DC4 #C4734D #62C44D #4D9DC4
split-complementary
#AF4DC4 #9DC44D #4DC473
monochromatic
#642571 #8C359F #AF4DC4 #C47BD3 #D8A9E2

Accessibility & contrast

On white

4.49
#AF4DC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#AF4DC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4DC4
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4DC4#FFFFFF#000000##000000
##AF4DC41.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3170C8
Deuteranopia (green-blind)
#577AC1
Tritanopia (blue-blind)
#B06081
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #af4dc4;
/* rgb */ color: rgb(175, 77, 196);
/* oklch */ color: oklch(59.3% 0.195 320.2);
Tailwind
colors: {
  custom: {
    50: '#ca85d6',
    500: '#af4dc4',
    950: '#000000',
  },
}
SCSS
$custom: #af4dc4;
$custom-light: #ca85d6;
$custom-dark: #000000;
JSON
{
  "hex": "#af4dc4",
  "rgb": {
    "r": 175,
    "g": 77,
    "b": 196
  },
  "hsl": {
    "h": 289.412,
    "s": 50.211,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59326,
    "c": 0.19467,
    "h": 320.2
  },
  "luminance": 0.18407
}

Semantic roles & 50–950 ramp

primary
#AF4DC4
secondary
#A6D09D
accent
#DA4E67
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #AF4DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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