#AF2BAE#AF2BAE

#AF2BAE is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.7% C 0.218 H 328.4°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#AF2BAE
RGBrgb(175, 43, 174)
HSLhsl(300, 61%, 43%)
HSVhsv(300, 75%, 69%)
CMYKcmyk(0%, 75.4%, 0.6%, 31.4%)
CIE-LABlab(44.09, 66.33, -41.22)
CIE-LCHlch(44.09, 78.10, 328.14°)
OKLaboklab(54.68% 0.1856 -0.1142)
OKLCHoklch(54.68% 0.218 328.4)
XYZxyz(26.1828, 13.8997, 41.3401)
Luminance0.1390 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2BAE #2BAF2C
analogous
#6E2BAF #AF2BAE #AF2B6C
triadic
#AF2BAE #AEAF2B #2BAEAF
tetradic
#AF2BAE #AF6E2B #2BAF2C #2B6CAF
square
#AF2BAE #AF6E2B #2BAF2C #2B6CAF
split-complementary
#AF2BAE #6CAF2B #2BAF6E
monochromatic
#4D134C #7E1F7D #AF2BAE #D146D0 #DE77DD

Accessibility & contrast

On white

5.56
#AF2BAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#AF2BAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2BAE
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2BAE#FFFFFF#000000##FFFFFF
##AF2BAE1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5DB2
Deuteranopia (green-blind)
#516EAB
Tritanopia (blue-blind)
#B5406B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af2bae;
/* rgb */ color: rgb(175, 43, 174);
/* oklch */ color: oklch(54.7% 0.218 328.4);
Tailwind
colors: {
  custom: {
    50: '#cb73c7',
    500: '#af2bae',
    950: '#000000',
  },
}
SCSS
$custom: #af2bae;
$custom-light: #cb73c7;
$custom-dark: #000000;
JSON
{
  "hex": "#af2bae",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 174
  },
  "hsl": {
    "h": 300.455,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.54685,
    "c": 0.21792,
    "h": 328.4
  },
  "luminance": 0.13898
}

Semantic roles & 50–950 ramp

primary
#AF2BAE
secondary
#70C571
accent
#E44544
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AF2BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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