#AF3DB6#AF3DB6

#AF3DB6 is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.7% C 0.204 H 325.4°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#AF3DB6
RGBrgb(175, 61, 182)
HSLhsl(297, 50%, 48%)
HSVhsv(297, 66%, 71%)
CMYKcmyk(3.8%, 66.5%, 0%, 28.6%)
CIE-LABlab(46.75, 61.38, -41.70)
CIE-LCHlch(46.75, 74.21, 325.81°)
OKLaboklab(56.74% 0.1679 -0.1157)
OKLCHoklch(56.74% 0.204 325.4)
XYZxyz(27.7908, 15.8306, 45.8387)
Luminance0.1583 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3DB6 #44B63D
analogous
#733DB6 #AF3DB6 #B63D80
triadic
#AF3DB6 #B6AF3D #3DB6AF
tetradic
#AF3DB6 #B6733D #44B63D #3D80B6
square
#AF3DB6 #B6733D #44B63D #3D80B6
split-complementary
#AF3DB6 #80B63D #3DB673
monochromatic
#571E5A #832E88 #AF3DB6 #C565CB #D793DB

Accessibility & contrast

On white

5.04
#AF3DB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF3DB6
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3DB6#FFFFFF#000000##FFFFFF
##AF3DB61.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2566BA
Deuteranopia (green-blind)
#5574B3
Tritanopia (blue-blind)
#B34F75
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af3db6;
/* rgb */ color: rgb(175, 61, 182);
/* oklch */ color: oklch(56.7% 0.204 325.4);
Tailwind
colors: {
  custom: {
    50: '#ca7ccc',
    500: '#af3db6',
    950: '#000000',
  },
}
SCSS
$custom: #af3db6;
$custom-light: #ca7ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#af3db6",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 182
  },
  "hsl": {
    "h": 296.529,
    "s": 49.794,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56737,
    "c": 0.20394,
    "h": 325.4
  },
  "luminance": 0.15829
}

Semantic roles & 50–950 ramp

primary
#AF3DB6
secondary
#8CC689
accent
#D94E57
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF3DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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