#AF3DB5#AF3DB5

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

Color values

HEX#AF3DB5
RGBrgb(175, 61, 181)
HSLhsl(297, 50%, 47%)
HSVhsv(297, 66%, 71%)
CMYKcmyk(3.3%, 66.3%, 0%, 29%)
CIE-LABlab(46.70, 61.21, -41.20)
CIE-LCHlch(46.70, 73.78, 326.05°)
OKLaboklab(56.68% 0.1679 -0.1143)
OKLCHoklch(56.68% 0.203 325.8)
XYZxyz(27.6878, 15.7894, 45.2964)
Luminance0.1579 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3DB5 #43B53D
analogous
#733DB5 #AF3DB5 #B53D7F
triadic
#AF3DB5 #B5AF3D #3DB5AF
tetradic
#AF3DB5 #B5733D #43B53D #3D7FB5
square
#AF3DB5 #B5733D #43B53D #3D7FB5
split-complementary
#AF3DB5 #7FB53D #3DB573
monochromatic
#561E59 #832E87 #AF3DB5 #C664CB #D792DA

Accessibility & contrast

On white

5.05
#AF3DB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#AF3DB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3DB5
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3DB5#FFFFFF#000000##FFFFFF
##AF3DB51.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2666B8
Deuteranopia (green-blind)
#5674B2
Tritanopia (blue-blind)
#B34F74
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af3db5;
/* rgb */ color: rgb(175, 61, 181);
/* oklch */ color: oklch(56.7% 0.203 325.8);
Tailwind
colors: {
  custom: {
    50: '#ca7ccc',
    500: '#af3db5',
    950: '#000000',
  },
}
SCSS
$custom: #af3db5;
$custom-light: #ca7ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#af3db5",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 181
  },
  "hsl": {
    "h": 297,
    "s": 49.587,
    "l": 47.451
  },
  "oklch": {
    "l": 0.5668,
    "c": 0.20311,
    "h": 325.8
  },
  "luminance": 0.15788
}

Semantic roles & 50–950 ramp

primary
#AF3DB5
secondary
#8BC588
accent
#D94F56
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF3DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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