#AF3DB9#AF3DB9

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

Color values

HEX#AF3DB9
RGBrgb(175, 61, 185)
HSLhsl(295, 50%, 48%)
HSVhsv(295, 67%, 73%)
CMYKcmyk(5.4%, 67%, 0%, 27.5%)
CIE-LABlab(46.92, 61.91, -43.20)
CIE-LCHlch(46.92, 75.49, 325.10°)
OKLaboklab(56.91% 0.168 -0.1201)
OKLCHoklch(56.91% 0.206 324.4)
XYZxyz(28.1042, 15.9559, 47.4890)
Luminance0.1595 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3DB9 #47B93D
analogous
#713DB9 #AF3DB9 #B93D85
triadic
#AF3DB9 #B9AF3D #3DB9AF
tetradic
#AF3DB9 #B9713D #47B93D #3D85B9
square
#AF3DB9 #B9713D #47B93D #3D85B9
split-complementary
#AF3DB9 #85B93D #3DB971
monochromatic
#581F5D #832E8B #AF3DB9 #C466CD #D695DC

Accessibility & contrast

On white

5.01
#AF3DB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#AF3DB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3DB9
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3DB9#FFFFFF#000000##FFFFFF
##AF3DB91.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2166BD
Deuteranopia (green-blind)
#5374B6
Tritanopia (blue-blind)
#B25176
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af3db9;
/* rgb */ color: rgb(175, 61, 185);
/* oklch */ color: oklch(56.9% 0.206 324.4);
Tailwind
colors: {
  custom: {
    50: '#ca7cce',
    500: '#af3db9',
    950: '#000000',
  },
}
SCSS
$custom: #af3db9;
$custom-light: #ca7cce;
$custom-dark: #000000;
JSON
{
  "hex": "#af3db9",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 185
  },
  "hsl": {
    "h": 295.161,
    "s": 50.407,
    "l": 48.235
  },
  "oklch": {
    "l": 0.5691,
    "c": 0.20647,
    "h": 324.4
  },
  "luminance": 0.15954
}

Semantic roles & 50–950 ramp

primary
#AF3DB9
secondary
#8FC78B
accent
#DA4E59
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AF3DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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