#AF3CA1#AF3CA1

#AF3CA1 is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.5% C 0.188 H 333.0°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#AF3CA1
RGBrgb(175, 60, 161)
HSLhsl(307, 49%, 46%)
HSVhsv(307, 66%, 69%)
CMYKcmyk(0%, 65.7%, 8%, 31.4%)
CIE-LABlab(45.53, 58.24, -31.23)
CIE-LCHlch(45.53, 66.09, 331.80°)
OKLaboklab(55.5% 0.1677 -0.0855)
OKLCHoklch(55.5% 0.188 333)
XYZxyz(25.7282, 14.9209, 35.2363)
Luminance0.1492 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3CA1 #3CAF4A
analogous
#833CAF #AF3CA1 #AF3C67
triadic
#AF3CA1 #A1AF3C #3CA1AF
tetradic
#AF3CA1 #AF833C #3CAF4A #3C67AF
square
#AF3CA1 #AF833C #3CAF4A #3C67AF
split-complementary
#AF3CA1 #67AF3C #3CAF83
monochromatic
#541D4D #812C77 #AF3CA1 #C860BC #D88DCF

Accessibility & contrast

On white

5.27
#AF3CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF3CA1
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3CA1#FFFFFF#000000##FFFFFF
##AF3CA11.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3861A4
Deuteranopia (green-blind)
#5F729E
Tritanopia (blue-blind)
#B74669
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af3ca1;
/* rgb */ color: rgb(175, 60, 161);
/* oklch */ color: oklch(55.5% 0.188 333.0);
Tailwind
colors: {
  custom: {
    50: '#ca7abd',
    500: '#af3ca1',
    950: '#000000',
  },
}
SCSS
$custom: #af3ca1;
$custom-light: #ca7abd;
$custom-dark: #000000;
JSON
{
  "hex": "#af3ca1",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 161
  },
  "hsl": {
    "h": 307.304,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55499,
    "c": 0.18826,
    "h": 333
  },
  "luminance": 0.14919
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF3CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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