#AF3CA2#AF3CA2

#AF3CA2 is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.5% C 0.189 H 332.6°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#AF3CA2
RGBrgb(175, 60, 162)
HSLhsl(307, 49%, 46%)
HSVhsv(307, 66%, 69%)
CMYKcmyk(0%, 65.7%, 7.4%, 31.4%)
CIE-LABlab(45.57, 58.40, -31.75)
CIE-LCHlch(45.57, 66.48, 331.47°)
OKLaboklab(55.55% 0.1679 -0.087)
OKLCHoklch(55.55% 0.189 332.6)
XYZxyz(25.8167, 14.9563, 35.7025)
Luminance0.1495 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3CA2 #3CAF49
analogous
#823CAF #AF3CA2 #AF3C68
triadic
#AF3CA2 #A2AF3C #3CA2AF
tetradic
#AF3CA2 #AF823C #3CAF49 #3C68AF
square
#AF3CA2 #AF823C #3CAF49 #3C68AF
split-complementary
#AF3CA2 #68AF3C #3CAF82
monochromatic
#541D4E #812C78 #AF3CA2 #C860BD #D88DD0

Accessibility & contrast

On white

5.26
#AF3CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#AF3CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3CA2
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3CA2#FFFFFF#000000##FFFFFF
##AF3CA21.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3761A5
Deuteranopia (green-blind)
#5F729F
Tritanopia (blue-blind)
#B6466A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af3ca2;
/* rgb */ color: rgb(175, 60, 162);
/* oklch */ color: oklch(55.5% 0.189 332.6);
Tailwind
colors: {
  custom: {
    50: '#ca7abe',
    500: '#af3ca2',
    950: '#000000',
  },
}
SCSS
$custom: #af3ca2;
$custom-light: #ca7abe;
$custom-dark: #000000;
JSON
{
  "hex": "#af3ca2",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 162
  },
  "hsl": {
    "h": 306.783,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5555,
    "c": 0.18904,
    "h": 332.6
  },
  "luminance": 0.14954
}

Semantic roles & 50–950 ramp

primary
#AF3CA2
secondary
#84C38B
accent
#D85F4F
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #AF3CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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