#AF3BA9#AF3BA9

#AF3BA9 is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.8% C 0.196 H 330.0°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#AF3BA9
RGBrgb(175, 59, 169)
HSLhsl(303, 50%, 46%)
HSVhsv(303, 66%, 69%)
CMYKcmyk(0%, 66.3%, 3.4%, 31.4%)
CIE-LABlab(45.78, 59.95, -35.58)
CIE-LCHlch(45.78, 69.71, 329.31°)
OKLaboklab(55.82% 0.1696 -0.098)
OKLCHoklch(55.82% 0.196 330)
XYZxyz(26.4044, 15.1084, 39.0539)
Luminance0.1511 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3BA9 #3BAF41
analogous
#7B3BAF #AF3BA9 #AF3B6F
triadic
#AF3BA9 #A9AF3B #3BA9AF
tetradic
#AF3BA9 #AF7B3B #3BAF41 #3B6FAF
square
#AF3BA9 #AF7B3B #3BAF41 #3B6FAF
split-complementary
#AF3BA9 #6FAF3B #3BAF7B
monochromatic
#531C51 #812C7D #AF3BA9 #C95EC3 #D88CD4

Accessibility & contrast

On white

5.22
#AF3BA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#AF3BA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3BA9
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3BA9#FFFFFF#000000##FFFFFF
##AF3BA91.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3062AC
Deuteranopia (green-blind)
#5B72A6
Tritanopia (blue-blind)
#B5486D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af3ba9;
/* rgb */ color: rgb(175, 59, 169);
/* oklch */ color: oklch(55.8% 0.196 330.0);
Tailwind
colors: {
  custom: {
    50: '#ca7ac3',
    500: '#af3ba9',
    950: '#000000',
  },
}
SCSS
$custom: #af3ba9;
$custom-light: #ca7ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#af3ba9",
  "rgb": {
    "r": 175,
    "g": 59,
    "b": 169
  },
  "hsl": {
    "h": 303.103,
    "s": 49.573,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55815,
    "c": 0.19586,
    "h": 330
  },
  "luminance": 0.15106
}

Semantic roles & 50–950 ramp

primary
#AF3BA9
secondary
#83C386
accent
#D9564F
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A12
muted
#827C81

Preview Lab

Preview with #AF3BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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