#AF3BB9#AF3BB9

#AF3BB9 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.7% C 0.209 H 324.5°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#AF3BB9
RGBrgb(175, 59, 185)
HSLhsl(295, 52%, 48%)
HSVhsv(295, 68%, 73%)
CMYKcmyk(5.4%, 68.1%, 0%, 27.5%)
CIE-LABlab(46.64, 62.69, -43.64)
CIE-LCHlch(46.64, 76.38, 325.16°)
OKLaboklab(56.71% 0.1701 -0.1213)
OKLCHoklch(56.71% 0.209 324.5)
XYZxyz(27.9994, 15.7464, 47.4541)
Luminance0.1575 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3BB9 #45B93B
analogous
#703BB9 #AF3BB9 #B93B84
triadic
#AF3BB9 #B9AF3B #3BB9AF
tetradic
#AF3BB9 #B9703B #45B93B #3B84B9
square
#AF3BB9 #B9703B #45B93B #3B84B9
split-complementary
#AF3BB9 #84B93B #3BB970
monochromatic
#571D5C #832C8B #AF3BB9 #C564CD #D692DC

Accessibility & contrast

On white

5.06
#AF3BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#AF3BB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3BB9
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3BB9#FFFFFF#000000##FFFFFF
##AF3BB91.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C66BD
Deuteranopia (green-blind)
#5273B6
Tritanopia (blue-blind)
#B34F76
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af3bb9;
/* rgb */ color: rgb(175, 59, 185);
/* oklch */ color: oklch(56.7% 0.209 324.5);
Tailwind
colors: {
  custom: {
    50: '#ca7bce',
    500: '#af3bb9',
    950: '#000000',
  },
}
SCSS
$custom: #af3bb9;
$custom-light: #ca7bce;
$custom-dark: #000000;
JSON
{
  "hex": "#af3bb9",
  "rgb": {
    "r": 175,
    "g": 59,
    "b": 185
  },
  "hsl": {
    "h": 295.238,
    "s": 51.639,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56711,
    "c": 0.20895,
    "h": 324.5
  },
  "luminance": 0.15745
}

Semantic roles & 50–950 ramp

primary
#AF3BB9
secondary
#8DC788
accent
#DB4D58
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AF3BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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