#AF2CA3#AF2CA3

#AF2CA3 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.1% C 0.209 H 332.1°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#AF2CA3
RGBrgb(175, 44, 163)
HSLhsl(305, 60%, 43%)
HSVhsv(305, 75%, 69%)
CMYKcmyk(0%, 74.9%, 6.9%, 31.4%)
CIE-LABlab(43.60, 64.28, -35.46)
CIE-LCHlch(43.60, 73.42, 331.12°)
OKLaboklab(54.14% 0.1846 -0.0975)
OKLCHoklch(54.14% 0.209 332.1)
XYZxyz(25.1908, 13.5618, 35.9342)
Luminance0.1356 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2CA3 #2CAF38
analogous
#792CAF #AF2CA3 #AF2C62
triadic
#AF2CA3 #A3AF2C #2CA3AF
tetradic
#AF2CA3 #AF792C #2CAF38 #2C62AF
square
#AF2CA3 #AF792C #2CAF38 #2C62AF
split-complementary
#AF2CA3 #62AF2C #2CAF79
monochromatic
#4D1348 #7E2075 #AF2CA3 #D147C4 #DD78D4

Accessibility & contrast

On white

5.66
#AF2CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#AF2CA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2CA3
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2CA3#FFFFFF#000000##FFFFFF
##AF2CA31.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235BA6
Deuteranopia (green-blind)
#576DA0
Tritanopia (blue-blind)
#B73B65
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af2ca3;
/* rgb */ color: rgb(175, 44, 163);
/* oklch */ color: oklch(54.1% 0.209 332.1);
Tailwind
colors: {
  custom: {
    50: '#cb73be',
    500: '#af2ca3',
    950: '#000000',
  },
}
SCSS
$custom: #af2ca3;
$custom-light: #cb73be;
$custom-dark: #000000;
JSON
{
  "hex": "#af2ca3",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 305.496,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5414,
    "c": 0.20875,
    "h": 332.1
  },
  "luminance": 0.1356
}

Semantic roles & 50–950 ramp

primary
#AF2CA3
secondary
#72C579
accent
#E35345
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AF2CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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