#AF3DB7#AF3DB7

#AF3DB7 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 56.8% C 0.205 H 325.1°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#AF3DB7
RGBrgb(175, 61, 183)
HSLhsl(296, 50%, 48%)
HSVhsv(296, 67%, 72%)
CMYKcmyk(4.4%, 66.7%, 0%, 28.2%)
CIE-LABlab(46.81, 61.56, -42.20)
CIE-LCHlch(46.81, 74.63, 325.57°)
OKLaboklab(56.79% 0.1679 -0.1172)
OKLCHoklch(56.79% 0.205 325.1)
XYZxyz(27.8945, 15.8721, 46.3849)
Luminance0.1587 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3DB7 #45B73D
analogous
#723DB7 #AF3DB7 #B73D82
triadic
#AF3DB7 #B7AF3D #3DB7AF
tetradic
#AF3DB7 #B7723D #45B73D #3D82B7
square
#AF3DB7 #B7723D #45B73D #3D82B7
split-complementary
#AF3DB7 #82B73D #3DB772
monochromatic
#571E5B #832E89 #AF3DB7 #C565CC #D693DB

Accessibility & contrast

On white

5.03
#AF3DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#AF3DB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3DB7
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3DB7#FFFFFF#000000##FFFFFF
##AF3DB71.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2466BB
Deuteranopia (green-blind)
#5474B4
Tritanopia (blue-blind)
#B35075
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af3db7;
/* rgb */ color: rgb(175, 61, 183);
/* oklch */ color: oklch(56.8% 0.205 325.1);
Tailwind
colors: {
  custom: {
    50: '#ca7ccd',
    500: '#af3db7',
    950: '#000000',
  },
}
SCSS
$custom: #af3db7;
$custom-light: #ca7ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#af3db7",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 183
  },
  "hsl": {
    "h": 296.066,
    "s": 50,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56795,
    "c": 0.20479,
    "h": 325.1
  },
  "luminance": 0.1587
}

Semantic roles & 50–950 ramp

primary
#AF3DB7
secondary
#8DC689
accent
#DA4E57
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF3DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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