#AF3CA3#AF3CA3

#AF3CA3 is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.6% C 0.190 H 332.2°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#AF3CA3
RGBrgb(175, 60, 163)
HSLhsl(306, 49%, 46%)
HSVhsv(306, 66%, 69%)
CMYKcmyk(0%, 65.7%, 6.9%, 31.4%)
CIE-LABlab(45.62, 58.57, -32.27)
CIE-LCHlch(45.62, 66.87, 331.14°)
OKLaboklab(55.6% 0.1679 -0.0885)
OKLCHoklch(55.6% 0.19 332.2)
XYZxyz(25.9059, 14.9920, 36.1725)
Luminance0.1499 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3CA3 #3CAF48
analogous
#813CAF #AF3CA3 #AF3C69
triadic
#AF3CA3 #A3AF3C #3CA3AF
tetradic
#AF3CA3 #AF813C #3CAF48 #3C69AF
square
#AF3CA3 #AF813C #3CAF48 #3C69AF
split-complementary
#AF3CA3 #69AF3C #3CAF81
monochromatic
#541D4E #812C79 #AF3CA3 #C860BD #D88DD0

Accessibility & contrast

On white

5.25
#AF3CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#AF3CA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3CA3
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3CA3#FFFFFF#000000##FFFFFF
##AF3CA31.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3762A6
Deuteranopia (green-blind)
#5E72A0
Tritanopia (blue-blind)
#B6476A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af3ca3;
/* rgb */ color: rgb(175, 60, 163);
/* oklch */ color: oklch(55.6% 0.190 332.2);
Tailwind
colors: {
  custom: {
    50: '#ca7abe',
    500: '#af3ca3',
    950: '#000000',
  },
}
SCSS
$custom: #af3ca3;
$custom-light: #ca7abe;
$custom-dark: #000000;
JSON
{
  "hex": "#af3ca3",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 163
  },
  "hsl": {
    "h": 306.261,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55602,
    "c": 0.18982,
    "h": 332.2
  },
  "luminance": 0.1499
}

Semantic roles & 50–950 ramp

primary
#AF3CA3
secondary
#84C38B
accent
#D85E4F
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #AF3CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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