#AF3AA3#AF3AA3

#AF3AA3 is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.4% C 0.192 H 332.2°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#AF3AA3
RGBrgb(175, 58, 163)
HSLhsl(306, 50%, 46%)
HSVhsv(306, 67%, 69%)
CMYKcmyk(0%, 66.9%, 6.9%, 31.4%)
CIE-LABlab(45.34, 59.36, -32.71)
CIE-LCHlch(45.34, 67.77, 331.14°)
OKLaboklab(55.4% 0.1702 -0.0897)
OKLCHoklch(55.4% 0.192 332.2)
XYZxyz(25.8031, 14.7864, 36.1383)
Luminance0.1478 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3AA3 #3AAF46
analogous
#803AAF #AF3AA3 #AF3A68
triadic
#AF3AA3 #A3AF3A #3AA3AF
tetradic
#AF3AA3 #AF803A #3AAF46 #3A68AF
square
#AF3AA3 #AF803A #3AAF46 #3A68AF
split-complementary
#AF3AA3 #68AF3A #3AAF80
monochromatic
#531C4D #812B78 #AF3AA3 #C95DBE #D98BD1

Accessibility & contrast

On white

5.31
#AF3AA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#AF3AA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3AA3
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3AA3#FFFFFF#000000##FFFFFF
##AF3AA31.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3461A6
Deuteranopia (green-blind)
#5D71A0
Tritanopia (blue-blind)
#B64569
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af3aa3;
/* rgb */ color: rgb(175, 58, 163);
/* oklch */ color: oklch(55.4% 0.192 332.2);
Tailwind
colors: {
  custom: {
    50: '#ca79be',
    500: '#af3aa3',
    950: '#000000',
  },
}
SCSS
$custom: #af3aa3;
$custom-light: #ca79be;
$custom-dark: #000000;
JSON
{
  "hex": "#af3aa3",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 163
  },
  "hsl": {
    "h": 306.154,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55397,
    "c": 0.19244,
    "h": 332.2
  },
  "luminance": 0.14784
}

Semantic roles & 50–950 ramp

primary
#AF3AA3
secondary
#82C389
accent
#DA5C4E
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #AF3AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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