#AF2BB3#AF2BB3

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

Color values

HEX#AF2BB3
RGBrgb(175, 43, 179)
HSLhsl(298, 61%, 44%)
HSVhsv(298, 76%, 70%)
CMYKcmyk(2.2%, 76%, 0%, 29.8%)
CIE-LABlab(44.37, 67.15, -43.72)
CIE-LCHlch(44.37, 80.13, 326.93°)
OKLaboklab(54.98% 0.1855 -0.1215)
OKLCHoklch(54.98% 0.222 326.8)
XYZxyz(26.6793, 14.0983, 43.9551)
Luminance0.1410 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2BB3 #2FB32B
analogous
#6B2BB3 #AF2BB3 #B32B73
triadic
#AF2BB3 #B3AF2B #2BB3AF
tetradic
#AF2BB3 #B36B2B #2FB32B #2B73B3
square
#AF2BB3 #B36B2B #2FB32B #2B73B3
split-complementary
#AF2BB3 #73B32B #2BB36B
monochromatic
#4F1350 #7F1F82 #AF2BB3 #CF48D3 #DC79DF

Accessibility & contrast

On white

5.50
#AF2BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#AF2BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2BB3
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2BB3#FFFFFF#000000##FFFFFF
##AF2BB31.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af2bb3;
/* rgb */ color: rgb(175, 43, 179);
/* oklch */ color: oklch(55.0% 0.222 326.8);
Tailwind
colors: {
  custom: {
    50: '#cb73ca',
    500: '#af2bb3',
    950: '#000000',
  },
}
SCSS
$custom: #af2bb3;
$custom-light: #cb73ca;
$custom-dark: #000000;
JSON
{
  "hex": "#af2bb3",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 179
  },
  "hsl": {
    "h": 298.235,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54979,
    "c": 0.22171,
    "h": 326.8
  },
  "luminance": 0.14096
}

Semantic roles & 50–950 ramp

primary
#AF2BB3
secondary
#75C773
accent
#E44348
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AF2BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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