#AF3DBE#AF3DBE

#AF3DBE is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.2% C 0.211 H 322.8°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#AF3DBE
RGBrgb(175, 61, 190)
HSLhsl(293, 51%, 49%)
HSVhsv(293, 68%, 75%)
CMYKcmyk(7.9%, 67.9%, 0%, 25.5%)
CIE-LABlab(47.20, 62.81, -45.66)
CIE-LCHlch(47.20, 77.65, 323.98°)
OKLaboklab(57.2% 0.1679 -0.1273)
OKLCHoklch(57.2% 0.211 322.8)
XYZxyz(28.6413, 16.1708, 50.3179)
Luminance0.1617 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3DBE #4CBE3D
analogous
#6F3DBE #AF3DBE #BE3D8D
triadic
#AF3DBE #BEAF3D #3DBEAF
tetradic
#AF3DBE #BE6F3D #4CBE3D #3D8DBE
square
#AF3DBE #BE6F3D #4CBE3D #3D8DBE
split-complementary
#AF3DBE #8DBE3D #3DBE6F
monochromatic
#5A1F61 #842E90 #AF3DBE #C369CF #D698DE

Accessibility & contrast

On white

4.96
#AF3DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF3DBE
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3DBE#FFFFFF#000000##FFFFFF
##AF3DBE1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1867C2
Deuteranopia (green-blind)
#5074BB
Tritanopia (blue-blind)
#B25379
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af3dbe;
/* rgb */ color: rgb(175, 61, 190);
/* oklch */ color: oklch(57.2% 0.211 322.8);
Tailwind
colors: {
  custom: {
    50: '#ca7cd2',
    500: '#af3dbe',
    950: '#000000',
  },
}
SCSS
$custom: #af3dbe;
$custom-light: #ca7cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#af3dbe",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 190
  },
  "hsl": {
    "h": 293.023,
    "s": 51.394,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57203,
    "c": 0.21072,
    "h": 322.8
  },
  "luminance": 0.16169
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF3DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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