#AF3BB1#AF3BB1

#AF3BB1 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.3% C 0.202 H 327.2°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#AF3BB1
RGBrgb(175, 59, 177)
HSLhsl(299, 50%, 46%)
HSVhsv(299, 67%, 69%)
CMYKcmyk(1.1%, 66.7%, 0%, 30.6%)
CIE-LABlab(46.20, 61.30, -39.64)
CIE-LCHlch(46.20, 73.00, 327.11°)
OKLaboklab(56.25% 0.17 -0.1097)
OKLCHoklch(56.25% 0.202 327.2)
XYZxyz(27.1785, 15.4180, 43.1309)
Luminance0.1542 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3BB1 #3DB13B
analogous
#743BB1 #AF3BB1 #B13B78
triadic
#AF3BB1 #B1AF3B #3BB1AF
tetradic
#AF3BB1 #B1743B #3DB13B #3B78B1
square
#AF3BB1 #B1743B #3DB13B #3B78B1
split-complementary
#AF3BB1 #78B13B #3BB174
monochromatic
#541C55 #822C83 #AF3BB1 #C85FCA #D88DD9

Accessibility & contrast

On white

5.14
#AF3BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#AF3BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3BB1
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3BB1#FFFFFF#000000##FFFFFF
##AF3BB11.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2864B4
Deuteranopia (green-blind)
#5773AE
Tritanopia (blue-blind)
#B44C71
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af3bb1;
/* rgb */ color: rgb(175, 59, 177);
/* oklch */ color: oklch(56.3% 0.202 327.2);
Tailwind
colors: {
  custom: {
    50: '#ca7ac9',
    500: '#af3bb1',
    950: '#000000',
  },
}
SCSS
$custom: #af3bb1;
$custom-light: #ca7ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#af3bb1",
  "rgb": {
    "r": 175,
    "g": 59,
    "b": 177
  },
  "hsl": {
    "h": 298.983,
    "s": 50,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56253,
    "c": 0.20233,
    "h": 327.2
  },
  "luminance": 0.15416
}

Semantic roles & 50–950 ramp

primary
#AF3BB1
secondary
#85C484
accent
#DA4E51
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF3BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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