#AF3DBD#AF3DBD

#AF3DBD is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.1% C 0.210 H 323.2°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#AF3DBD
RGBrgb(175, 61, 189)
HSLhsl(293, 51%, 49%)
HSVhsv(293, 68%, 74%)
CMYKcmyk(7.4%, 67.7%, 0%, 25.9%)
CIE-LABlab(47.14, 62.63, -45.17)
CIE-LCHlch(47.14, 77.22, 324.20°)
OKLaboklab(57.14% 0.1679 -0.1258)
OKLCHoklch(57.14% 0.21 323.2)
XYZxyz(28.5324, 16.1272, 49.7442)
Luminance0.1613 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3DBD #4BBD3D
analogous
#6F3DBD #AF3DBD #BD3D8B
triadic
#AF3DBD #BDAF3D #3DBDAF
tetradic
#AF3DBD #BD6F3D #4BBD3D #3D8BBD
square
#AF3DBD #BD6F3D #4BBD3D #3D8BBD
split-complementary
#AF3DBD #8BBD3D #3DBD6F
monochromatic
#591F60 #842E8F #AF3DBD #C369CE #D697DD

Accessibility & contrast

On white

4.97
#AF3DBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#AF3DBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3DBD
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3DBD#FFFFFF#000000##FFFFFF
##AF3DBD1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A67C1
Deuteranopia (green-blind)
#5174BA
Tritanopia (blue-blind)
#B25278
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af3dbd;
/* rgb */ color: rgb(175, 61, 189);
/* oklch */ color: oklch(57.1% 0.210 323.2);
Tailwind
colors: {
  custom: {
    50: '#ca7cd1',
    500: '#af3dbd',
    950: '#000000',
  },
}
SCSS
$custom: #af3dbd;
$custom-light: #ca7cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#af3dbd",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 189
  },
  "hsl": {
    "h": 293.438,
    "s": 51.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57143,
    "c": 0.20986,
    "h": 323.2
  },
  "luminance": 0.16126
}

Semantic roles & 50–950 ramp

primary
#AF3DBD
secondary
#93C98D
accent
#DB4D5D
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AF3DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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