#AF4ACE#AF4ACE

#AF4ACE is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 59.6% C 0.208 H 317.4°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#AF4ACE
RGBrgb(175, 74, 206)
HSLhsl(286, 57%, 55%)
HSVhsv(286, 64%, 81%)
CMYKcmyk(15%, 64.1%, 0%, 19.2%)
CIE-LABlab(50.06, 60.42, -50.34)
CIE-LCHlch(50.06, 78.64, 320.20°)
OKLaboklab(59.56% 0.1532 -0.141)
OKLCHoklch(59.56% 0.208 317.4)
XYZxyz(31.2670, 18.4690, 60.2984)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4ACE #69CE4A
analogous
#6D4ACE #AF4ACE #CE4AAB
triadic
#AF4ACE #CEAF4A #4ACEAF
tetradic
#AF4ACE #CE6D4A #69CE4A #4AABCE
square
#AF4ACE #CE6D4A #69CE4A #4AABCE
split-complementary
#AF4ACE #ABCE4A #4ACE6D
monochromatic
#67227C #8F2FAC #AF4ACE #C47ADB #DAAAE8

Accessibility & contrast

On white

4.47
#AF4ACE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#AF4ACE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4ACE
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4ACE#FFFFFF#000000##000000
##AF4ACE1.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B71D2
Deuteranopia (green-blind)
#4E7ACB
Tritanopia (blue-blind)
#AE6286
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #af4ace;
/* rgb */ color: rgb(175, 74, 206);
/* oklch */ color: oklch(59.6% 0.208 317.4);
Tailwind
colors: {
  custom: {
    50: '#ca83dd',
    500: '#af4ace',
    950: '#000000',
  },
}
SCSS
$custom: #af4ace;
$custom-light: #ca83dd;
$custom-dark: #000000;
JSON
{
  "hex": "#af4ace",
  "rgb": {
    "r": 175,
    "g": 74,
    "b": 206
  },
  "hsl": {
    "h": 285.909,
    "s": 57.391,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5956,
    "c": 0.20825,
    "h": 317.4
  },
  "luminance": 0.18468
}

Semantic roles & 50–950 ramp

primary
#AF4ACE
secondary
#ABD69E
accent
#E1476B
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF4ACE

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

Preview Lab → · Contrast checker → · Palette generator →

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