#AF2CB3#AF2CB3

#AF2CB3 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.1% C 0.221 H 326.8°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#AF2CB3
RGBrgb(175, 44, 179)
HSLhsl(298, 61%, 44%)
HSVhsv(298, 75%, 70%)
CMYKcmyk(2.2%, 75.4%, 0%, 29.8%)
CIE-LABlab(44.48, 66.84, -43.55)
CIE-LCHlch(44.48, 79.78, 326.91°)
OKLaboklab(55.05% 0.1846 -0.121)
OKLCHoklch(55.05% 0.221 326.8)
XYZxyz(26.7161, 14.1719, 43.9674)
Luminance0.1417 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2CB3 #30B32C
analogous
#6B2CB3 #AF2CB3 #B32C73
triadic
#AF2CB3 #B3AF2C #2CB3AF
tetradic
#AF2CB3 #B36B2C #30B32C #2C73B3
square
#AF2CB3 #B36B2C #30B32C #2C73B3
split-complementary
#AF2CB3 #73B32C #2CB36B
monochromatic
#4F1451 #7F2082 #AF2CB3 #CE4AD2 #DC7BDF

Accessibility & contrast

On white

5.48
#AF2CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#AF2CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2CB3
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2CB3#FFFFFF#000000##FFFFFF
##AF2CB31.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FB7
Deuteranopia (green-blind)
#4E6FB0
Tritanopia (blue-blind)
#B4436E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af2cb3;
/* rgb */ color: rgb(175, 44, 179);
/* oklch */ color: oklch(55.1% 0.221 326.8);
Tailwind
colors: {
  custom: {
    50: '#cb74ca',
    500: '#af2cb3',
    950: '#000000',
  },
}
SCSS
$custom: #af2cb3;
$custom-light: #cb74ca;
$custom-dark: #000000;
JSON
{
  "hex": "#af2cb3",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 298.222,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55054,
    "c": 0.22074,
    "h": 326.8
  },
  "luminance": 0.1417
}

Semantic roles & 50–950 ramp

primary
#AF2CB3
secondary
#76C774
accent
#E44449
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AF2CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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