#AF2BAA#AF2BAA

#AF2BAA is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.5% C 0.215 H 329.7°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#AF2BAA
RGBrgb(175, 43, 170)
HSLhsl(302, 61%, 43%)
HSVhsv(302, 75%, 69%)
CMYKcmyk(0%, 75.4%, 2.9%, 31.4%)
CIE-LABlab(43.87, 65.69, -39.20)
CIE-LCHlch(43.87, 76.50, 329.17°)
OKLaboklab(54.45% 0.1856 -0.1083)
OKLCHoklch(54.45% 0.215 329.7)
XYZxyz(25.7986, 13.7460, 39.3169)
Luminance0.1374 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2BAA #2BAF30
analogous
#722BAF #AF2BAA #AF2B68
triadic
#AF2BAA #AAAF2B #2BAAAF
tetradic
#AF2BAA #AF722B #2BAF30 #2B68AF
square
#AF2BAA #AF722B #2BAF30 #2B68AF
split-complementary
#AF2BAA #68AF2B #2BAF72
monochromatic
#4D134B #7E1F7A #AF2BAA #D146CC #DE77DA

Accessibility & contrast

On white

5.60
#AF2BAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#AF2BAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2BAA
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2BAA#FFFFFF#000000##FFFFFF
##AF2BAA1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175CAD
Deuteranopia (green-blind)
#536EA7
Tritanopia (blue-blind)
#B53E69
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af2baa;
/* rgb */ color: rgb(175, 43, 170);
/* oklch */ color: oklch(54.5% 0.215 329.7);
Tailwind
colors: {
  custom: {
    50: '#cb73c4',
    500: '#af2baa',
    950: '#000000',
  },
}
SCSS
$custom: #af2baa;
$custom-light: #cb73c4;
$custom-dark: #000000;
JSON
{
  "hex": "#af2baa",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 170
  },
  "hsl": {
    "h": 302.273,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.54454,
    "c": 0.21492,
    "h": 329.7
  },
  "luminance": 0.13744
}

Semantic roles & 50–950 ramp

primary
#AF2BAA
secondary
#70C574
accent
#E44A44
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140912
muted
#827B81

Preview Lab

Preview with #AF2BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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