#AF3BB6#AF3BB6

#AF3BB6 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.5% C 0.206 H 325.5°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#AF3BB6
RGBrgb(175, 59, 182)
HSLhsl(297, 51%, 47%)
HSVhsv(297, 68%, 71%)
CMYKcmyk(3.8%, 67.6%, 0%, 28.6%)
CIE-LABlab(46.47, 62.16, -42.14)
CIE-LCHlch(46.47, 75.10, 325.86°)
OKLaboklab(56.54% 0.1701 -0.117)
OKLCHoklch(56.54% 0.206 325.5)
XYZxyz(27.6860, 15.6210, 45.8038)
Luminance0.1562 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3BB6 #42B63B
analogous
#713BB6 #AF3BB6 #B63B80
triadic
#AF3BB6 #B6AF3B #3BB6AF
tetradic
#AF3BB6 #B6713B #42B63B #3B80B6
square
#AF3BB6 #B6713B #42B63B #3B80B6
split-complementary
#AF3BB6 #80B63B #3BB671
monochromatic
#561D5A #832C88 #AF3BB6 #C662CC #D790DB

Accessibility & contrast

On white

5.09
#AF3BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#AF3BB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3BB6
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3BB6#FFFFFF#000000##FFFFFF
##AF3BB61.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2165BA
Deuteranopia (green-blind)
#5473B3
Tritanopia (blue-blind)
#B34E74
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af3bb6;
/* rgb */ color: rgb(175, 59, 182);
/* oklch */ color: oklch(56.5% 0.206 325.5);
Tailwind
colors: {
  custom: {
    50: '#ca7bcc',
    500: '#af3bb6',
    950: '#000000',
  },
}
SCSS
$custom: #af3bb6;
$custom-light: #ca7bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#af3bb6",
  "rgb": {
    "r": 175,
    "g": 59,
    "b": 182
  },
  "hsl": {
    "h": 296.585,
    "s": 51.037,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56537,
    "c": 0.20645,
    "h": 325.5
  },
  "luminance": 0.15619
}

Semantic roles & 50–950 ramp

primary
#AF3BB6
secondary
#8AC687
accent
#DB4D55
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF3BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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