#AF2BB4#AF2BB4

#AF2BB4 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 55.0% C 0.222 H 326.5°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#AF2BB4
RGBrgb(175, 43, 180)
HSLhsl(298, 61%, 44%)
HSVhsv(298, 76%, 71%)
CMYKcmyk(2.8%, 76.1%, 0%, 29.4%)
CIE-LABlab(44.43, 67.31, -44.22)
CIE-LCHlch(44.43, 80.54, 326.70°)
OKLaboklab(55.04% 0.1854 -0.1229)
OKLCHoklch(55.04% 0.222 326.5)
XYZxyz(26.7808, 14.1389, 44.4897)
Luminance0.1414 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2BB4 #30B42B
analogous
#6A2BB4 #AF2BB4 #B42B74
triadic
#AF2BB4 #B4AF2B #2BB4AF
tetradic
#AF2BB4 #B46A2B #30B42B #2B74B4
square
#AF2BB4 #B46A2B #30B42B #2B74B4
split-complementary
#AF2BB4 #74B42B #2BB46A
monochromatic
#4F1351 #7F1F83 #AF2BB4 #CE49D3 #DC7ADF

Accessibility & contrast

On white

5.49
#AF2BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2BB4
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2BB4#FFFFFF#000000##FFFFFF
##AF2BB41.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af2bb4;
/* rgb */ color: rgb(175, 43, 180);
/* oklch */ color: oklch(55.0% 0.222 326.5);
Tailwind
colors: {
  custom: {
    50: '#cb74cb',
    500: '#af2bb4',
    950: '#000000',
  },
}
SCSS
$custom: #af2bb4;
$custom-light: #cb74cb;
$custom-dark: #000000;
JSON
{
  "hex": "#af2bb4",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 297.81,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55039,
    "c": 0.22247,
    "h": 326.5
  },
  "luminance": 0.14137
}

Semantic roles & 50–950 ramp

primary
#AF2BB4
secondary
#76C773
accent
#E54349
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AF2BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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