#AF3BB7#AF3BB7

#AF3BB7 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.6% C 0.207 H 325.1°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#AF3BB7
RGBrgb(175, 59, 183)
HSLhsl(296, 51%, 47%)
HSVhsv(296, 68%, 72%)
CMYKcmyk(4.4%, 67.8%, 0%, 28.2%)
CIE-LABlab(46.53, 62.34, -42.64)
CIE-LCHlch(46.53, 75.53, 325.63°)
OKLaboklab(56.6% 0.1701 -0.1185)
OKLCHoklch(56.6% 0.207 325.1)
XYZxyz(27.7898, 15.6625, 46.3500)
Luminance0.1566 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3BB7 #43B73B
analogous
#713BB7 #AF3BB7 #B73B81
triadic
#AF3BB7 #B7AF3B #3BB7AF
tetradic
#AF3BB7 #B7713B #43B73B #3B81B7
square
#AF3BB7 #B7713B #43B73B #3B81B7
split-complementary
#AF3BB7 #81B73B #3BB771
monochromatic
#561D5A #832C89 #AF3BB7 #C663CD #D791DC

Accessibility & contrast

On white

5.08
#AF3BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#AF3BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3BB7
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3BB7#FFFFFF#000000##FFFFFF
##AF3BB71.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2065BB
Deuteranopia (green-blind)
#5373B4
Tritanopia (blue-blind)
#B34E74
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af3bb7;
/* rgb */ color: rgb(175, 59, 183);
/* oklch */ color: oklch(56.6% 0.207 325.1);
Tailwind
colors: {
  custom: {
    50: '#ca7bcd',
    500: '#af3bb7',
    950: '#000000',
  },
}
SCSS
$custom: #af3bb7;
$custom-light: #ca7bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#af3bb7",
  "rgb": {
    "r": 175,
    "g": 59,
    "b": 183
  },
  "hsl": {
    "h": 296.129,
    "s": 51.24,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56595,
    "c": 0.20728,
    "h": 325.1
  },
  "luminance": 0.15661
}

Semantic roles & 50–950 ramp

primary
#AF3BB7
secondary
#8BC687
accent
#DB4D56
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF3BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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