#AF2BA9#AF2BA9

#AF2BA9 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.4% C 0.214 H 330.1°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#AF2BA9
RGBrgb(175, 43, 169)
HSLhsl(303, 61%, 43%)
HSVhsv(303, 75%, 69%)
CMYKcmyk(0%, 75.4%, 3.4%, 31.4%)
CIE-LABlab(43.81, 65.53, -38.69)
CIE-LCHlch(43.81, 76.10, 329.44°)
OKLaboklab(54.4% 0.1856 -0.1069)
OKLCHoklch(54.4% 0.214 330.1)
XYZxyz(25.7044, 13.7083, 38.8206)
Luminance0.1371 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2BA9 #2BAF31
analogous
#732BAF #AF2BA9 #AF2B67
triadic
#AF2BA9 #A9AF2B #2BA9AF
tetradic
#AF2BA9 #AF732B #2BAF31 #2B67AF
square
#AF2BA9 #AF732B #2BAF31 #2B67AF
split-complementary
#AF2BA9 #67AF2B #2BAF73
monochromatic
#4D134A #7E1F7A #AF2BA9 #D146CB #DE77D9

Accessibility & contrast

On white

5.61
#AF2BA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#AF2BA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2BA9
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2BA9#FFFFFF#000000##FFFFFF
##AF2BA91.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195CAC
Deuteranopia (green-blind)
#546EA6
Tritanopia (blue-blind)
#B63E68
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af2ba9;
/* rgb */ color: rgb(175, 43, 169);
/* oklch */ color: oklch(54.4% 0.214 330.1);
Tailwind
colors: {
  custom: {
    50: '#cb73c3',
    500: '#af2ba9',
    950: '#000000',
  },
}
SCSS
$custom: #af2ba9;
$custom-light: #cb73c3;
$custom-dark: #000000;
JSON
{
  "hex": "#af2ba9",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 302.727,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.54397,
    "c": 0.21417,
    "h": 330.1
  },
  "luminance": 0.13706
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF2BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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