#AF3DB8#AF3DB8

#AF3DB8 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 56.9% C 0.206 H 324.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#AF3DB8
RGBrgb(175, 61, 184)
HSLhsl(296, 50%, 48%)
HSVhsv(296, 67%, 72%)
CMYKcmyk(4.9%, 66.8%, 0%, 27.8%)
CIE-LABlab(46.86, 61.74, -42.70)
CIE-LCHlch(46.86, 75.06, 325.33°)
OKLaboklab(56.85% 0.1679 -0.1186)
OKLCHoklch(56.85% 0.206 324.8)
XYZxyz(27.9990, 15.9138, 46.9350)
Luminance0.1591 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3DB8 #46B83D
analogous
#723DB8 #AF3DB8 #B83D83
triadic
#AF3DB8 #B8AF3D #3DB8AF
tetradic
#AF3DB8 #B8723D #46B83D #3D83B8
square
#AF3DB8 #B8723D #46B83D #3D83B8
split-complementary
#AF3DB8 #83B83D #3DB872
monochromatic
#581F5C #832E8A #AF3DB8 #C566CC #D694DB

Accessibility & contrast

On white

5.02
#AF3DB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#AF3DB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3DB8
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3DB8#FFFFFF#000000##FFFFFF
##AF3DB81.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2266BC
Deuteranopia (green-blind)
#5474B5
Tritanopia (blue-blind)
#B35076
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af3db8;
/* rgb */ color: rgb(175, 61, 184);
/* oklch */ color: oklch(56.9% 0.206 324.8);
Tailwind
colors: {
  custom: {
    50: '#ca7cce',
    500: '#af3db8',
    950: '#000000',
  },
}
SCSS
$custom: #af3db8;
$custom-light: #ca7cce;
$custom-dark: #000000;
JSON
{
  "hex": "#af3db8",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 184
  },
  "hsl": {
    "h": 295.61,
    "s": 50.204,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56852,
    "c": 0.20563,
    "h": 324.8
  },
  "luminance": 0.15912
}

Semantic roles & 50–950 ramp

primary
#AF3DB8
secondary
#8EC78A
accent
#DA4E58
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF3DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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