#AF3AB4#AF3AB4

#AF3AB4 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.3% C 0.206 H 326.2°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#AF3AB4
RGBrgb(175, 58, 180)
HSLhsl(298, 51%, 47%)
HSVhsv(298, 68%, 71%)
CMYKcmyk(2.8%, 67.8%, 0%, 29.4%)
CIE-LABlab(46.23, 62.20, -41.36)
CIE-LCHlch(46.23, 74.70, 326.38°)
OKLaboklab(56.32% 0.1711 -0.1147)
OKLCHoklch(56.32% 0.206 326.2)
XYZxyz(27.4299, 15.4371, 44.7061)
Luminance0.1543 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3AB4 #3FB43A
analogous
#723AB4 #AF3AB4 #B43A7C
triadic
#AF3AB4 #B4AF3A #3AB4AF
tetradic
#AF3AB4 #B4723A #3FB43A #3A7CB4
square
#AF3AB4 #B4723A #3FB43A #3A7CB4
split-complementary
#AF3AB4 #7CB43A #3AB472
monochromatic
#551C57 #822B86 #AF3AB4 #C760CC #D78EDB

Accessibility & contrast

On white

5.14
#AF3AB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#AF3AB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3AB4
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3AB4#FFFFFF#000000##FFFFFF
##AF3AB41.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2264B8
Deuteranopia (green-blind)
#5573B1
Tritanopia (blue-blind)
#B34C73
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af3ab4;
/* rgb */ color: rgb(175, 58, 180);
/* oklch */ color: oklch(56.3% 0.206 326.2);
Tailwind
colors: {
  custom: {
    50: '#ca7acb',
    500: '#af3ab4',
    950: '#000000',
  },
}
SCSS
$custom: #af3ab4;
$custom-light: #ca7acb;
$custom-dark: #000000;
JSON
{
  "hex": "#af3ab4",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 180
  },
  "hsl": {
    "h": 297.541,
    "s": 51.261,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56324,
    "c": 0.20603,
    "h": 326.2
  },
  "luminance": 0.15435
}

Semantic roles & 50–950 ramp

primary
#AF3AB4
secondary
#87C585
accent
#DB4D53
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF3AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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