#AF3CA0#AF3CA0

#AF3CA0 is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.4% C 0.187 H 333.4°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#AF3CA0
RGBrgb(175, 60, 160)
HSLhsl(308, 49%, 46%)
HSVhsv(308, 66%, 69%)
CMYKcmyk(0%, 65.7%, 8.6%, 31.4%)
CIE-LABlab(45.48, 58.08, -30.71)
CIE-LCHlch(45.48, 65.70, 332.13°)
OKLaboklab(55.45% 0.1676 -0.084)
OKLCHoklch(55.45% 0.187 333.4)
XYZxyz(25.6403, 14.8858, 34.7737)
Luminance0.1488 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3CA0 #3CAF4B
analogous
#843CAF #AF3CA0 #AF3C66
triadic
#AF3CA0 #A0AF3C #3CA0AF
tetradic
#AF3CA0 #AF843C #3CAF4B #3C66AF
square
#AF3CA0 #AF843C #3CAF4B #3C66AF
split-complementary
#AF3CA0 #66AF3C #3CAF84
monochromatic
#541D4D #812C76 #AF3CA0 #C860BB #D88DCE

Accessibility & contrast

On white

5.28
#AF3CA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#AF3CA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3CA0
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3CA0#FFFFFF#000000##FFFFFF
##AF3CA01.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3961A3
Deuteranopia (green-blind)
#60729D
Tritanopia (blue-blind)
#B74569
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af3ca0;
/* rgb */ color: rgb(175, 60, 160);
/* oklch */ color: oklch(55.4% 0.187 333.4);
Tailwind
colors: {
  custom: {
    50: '#ca7abc',
    500: '#af3ca0',
    950: '#000000',
  },
}
SCSS
$custom: #af3ca0;
$custom-light: #ca7abc;
$custom-dark: #000000;
JSON
{
  "hex": "#af3ca0",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 160
  },
  "hsl": {
    "h": 307.826,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55448,
    "c": 0.18749,
    "h": 333.4
  },
  "luminance": 0.14884
}

Semantic roles & 50–950 ramp

primary
#AF3CA0
secondary
#84C38C
accent
#D8614F
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #AF3CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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