#AF2BB0#AF2BB0

#AF2BB0 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.8% C 0.219 H 327.7°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#AF2BB0
RGBrgb(175, 43, 176)
HSLhsl(300, 61%, 43%)
HSVhsv(300, 76%, 69%)
CMYKcmyk(0.6%, 75.6%, 0%, 31%)
CIE-LABlab(44.20, 66.66, -42.22)
CIE-LCHlch(44.20, 78.90, 327.65°)
OKLaboklab(54.8% 0.1856 -0.1171)
OKLCHoklch(54.8% 0.219 327.7)
XYZxyz(26.3792, 13.9782, 42.3746)
Luminance0.1398 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2BB0 #2CB02B
analogous
#6C2BB0 #AF2BB0 #B02B6E
triadic
#AF2BB0 #B0AF2B #2BB0AF
tetradic
#AF2BB0 #B06C2B #2CB02B #2B6EB0
square
#AF2BB0 #B06C2B #2CB02B #2B6EB0
split-complementary
#AF2BB0 #6EB02B #2BB06C
monochromatic
#4D134E #7E1F7F #AF2BB0 #D146D2 #DD78DE

Accessibility & contrast

On white

5.53
#AF2BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#AF2BB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2BB0
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2BB0#FFFFFF#000000##FFFFFF
##AF2BB01.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#065EB4
Deuteranopia (green-blind)
#506EAD
Tritanopia (blue-blind)
#B4416C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af2bb0;
/* rgb */ color: rgb(175, 43, 176);
/* oklch */ color: oklch(54.8% 0.219 327.7);
Tailwind
colors: {
  custom: {
    50: '#cb73c8',
    500: '#af2bb0',
    950: '#000000',
  },
}
SCSS
$custom: #af2bb0;
$custom-light: #cb73c8;
$custom-dark: #000000;
JSON
{
  "hex": "#af2bb0",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 176
  },
  "hsl": {
    "h": 299.549,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54802,
    "c": 0.21943,
    "h": 327.7
  },
  "luminance": 0.13976
}

Semantic roles & 50–950 ramp

primary
#AF2BB0
secondary
#72C671
accent
#E44445
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AF2BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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