#AF3DB4#AF3DB4

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

Color values

HEX#AF3DB4
RGBrgb(175, 61, 180)
HSLhsl(297, 49%, 47%)
HSVhsv(297, 66%, 71%)
CMYKcmyk(2.8%, 66.1%, 0%, 29.4%)
CIE-LABlab(46.64, 61.03, -40.70)
CIE-LCHlch(46.64, 73.36, 326.30°)
OKLaboklab(56.62% 0.1679 -0.1128)
OKLCHoklch(56.62% 0.202 326.1)
XYZxyz(27.5856, 15.7485, 44.7580)
Luminance0.1575 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3DB4 #42B43D
analogous
#743DB4 #AF3DB4 #B43D7E
triadic
#AF3DB4 #B4AF3D #3DB4AF
tetradic
#AF3DB4 #B4743D #42B43D #3D7EB4
square
#AF3DB4 #B4743D #42B43D #3D7EB4
split-complementary
#AF3DB4 #7EB43D #3DB474
monochromatic
#561E59 #832E86 #AF3DB4 #C664CA #D792DA

Accessibility & contrast

On white

5.06
#AF3DB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#AF3DB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3DB4
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3DB4#FFFFFF#000000##FFFFFF
##AF3DB41.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2865B7
Deuteranopia (green-blind)
#5674B1
Tritanopia (blue-blind)
#B34F73
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af3db4;
/* rgb */ color: rgb(175, 61, 180);
/* oklch */ color: oklch(56.6% 0.202 326.1);
Tailwind
colors: {
  custom: {
    50: '#ca7bcb',
    500: '#af3db4',
    950: '#000000',
  },
}
SCSS
$custom: #af3db4;
$custom-light: #ca7bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#af3db4",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 180
  },
  "hsl": {
    "h": 297.479,
    "s": 49.378,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56624,
    "c": 0.20227,
    "h": 326.1
  },
  "luminance": 0.15747
}

Semantic roles & 50–950 ramp

primary
#AF3DB4
secondary
#8AC588
accent
#D94F55
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF3DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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