#AF4AC2#AF4AC2

#AF4AC2 is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.9% C 0.197 H 321.0°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#AF4AC2
RGBrgb(175, 74, 194)
HSLhsl(291, 50%, 53%)
HSVhsv(291, 62%, 76%)
CMYKcmyk(9.8%, 61.9%, 0%, 23.9%)
CIE-LABlab(49.38, 58.09, -44.51)
CIE-LCHlch(49.38, 73.18, 322.54°)
OKLaboklab(58.85% 0.1532 -0.124)
OKLCHoklch(58.85% 0.197 321)
XYZxyz(29.8645, 17.9080, 52.9120)
Luminance0.1791 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4AC2 #5DC24A
analogous
#734AC2 #AF4AC2 #C24A99
triadic
#AF4AC2 #C2AF4A #4AC2AF
tetradic
#AF4AC2 #C2734A #5DC24A #4A99C2
square
#AF4AC2 #C2734A #5DC24A #4A99C2
split-complementary
#AF4AC2 #99C24A #4AC273
monochromatic
#61256D #8A349B #AF4AC2 #C378D1 #D7A6E1

Accessibility & contrast

On white

4.58
#AF4AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#AF4AC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4AC2
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4AC2#FFFFFF#000000##000000
##AF4AC21.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E6EC6
Deuteranopia (green-blind)
#5679BF
Tritanopia (blue-blind)
#B05D7F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #af4ac2;
/* rgb */ color: rgb(175, 74, 194);
/* oklch */ color: oklch(58.9% 0.197 321.0);
Tailwind
colors: {
  custom: {
    50: '#ca83d5',
    500: '#af4ac2',
    950: '#000000',
  },
}
SCSS
$custom: #af4ac2;
$custom-light: #ca83d5;
$custom-dark: #000000;
JSON
{
  "hex": "#af4ac2",
  "rgb": {
    "r": 175,
    "g": 74,
    "b": 194
  },
  "hsl": {
    "h": 290.5,
    "s": 49.587,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58853,
    "c": 0.19707,
    "h": 321
  },
  "luminance": 0.17907
}

Semantic roles & 50–950 ramp

primary
#AF4AC2
secondary
#A2CE9A
accent
#D94F65
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #AF4AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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