#AF4AC5#AF4AC5

#AF4AC5 is a mid, vivid purple. Relative luminance 0.180; OKLCH L 59.0% C 0.200 H 320.1°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#AF4AC5
RGBrgb(175, 74, 197)
HSLhsl(289, 51%, 53%)
HSVhsv(289, 62%, 77%)
CMYKcmyk(11.2%, 62.4%, 0%, 22.7%)
CIE-LABlab(49.55, 58.66, -45.98)
CIE-LCHlch(49.55, 74.54, 321.91°)
OKLaboklab(59.03% 0.1532 -0.1283)
OKLCHoklch(59.03% 0.2 320.1)
XYZxyz(30.2048, 18.0441, 54.7043)
Luminance0.1804 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4AC5 #60C54A
analogous
#714AC5 #AF4AC5 #C54A9D
triadic
#AF4AC5 #C5AF4A #4AC5AF
tetradic
#AF4AC5 #C5714A #60C54A #4A9DC5
square
#AF4AC5 #C5714A #60C54A #4A9DC5
split-complementary
#AF4AC5 #9DC54A #4AC571
monochromatic
#632471 #8C339F #AF4AC5 #C378D4 #D8A7E3

Accessibility & contrast

On white

4.56
#AF4AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#AF4AC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4AC5
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4AC5#FFFFFF#000000##000000
##AF4AC51.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A6FC9
Deuteranopia (green-blind)
#5479C2
Tritanopia (blue-blind)
#B05E81
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #af4ac5;
/* rgb */ color: rgb(175, 74, 197);
/* oklch */ color: oklch(59.0% 0.200 320.1);
Tailwind
colors: {
  custom: {
    50: '#ca83d7',
    500: '#af4ac5',
    950: '#000000',
  },
}
SCSS
$custom: #af4ac5;
$custom-light: #ca83d7;
$custom-dark: #000000;
JSON
{
  "hex": "#af4ac5",
  "rgb": {
    "r": 175,
    "g": 74,
    "b": 197
  },
  "hsl": {
    "h": 289.268,
    "s": 51.464,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59026,
    "c": 0.19985,
    "h": 320.1
  },
  "luminance": 0.18043
}

Semantic roles & 50–950 ramp

primary
#AF4AC5
secondary
#A4D09B
accent
#DB4D66
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #AF4AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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