#AF3DBF#AF3DBF

#AF3DBF is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.3% C 0.212 H 322.5°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#AF3DBF
RGBrgb(175, 61, 191)
HSLhsl(293, 52%, 49%)
HSVhsv(293, 68%, 75%)
CMYKcmyk(8.4%, 68.1%, 0%, 25.1%)
CIE-LABlab(47.25, 62.99, -46.16)
CIE-LCHlch(47.25, 78.09, 323.77°)
OKLaboklab(57.26% 0.1679 -0.1287)
OKLCHoklch(57.26% 0.212 322.5)
XYZxyz(28.7510, 16.2146, 50.8955)
Luminance0.1621 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3DBF #4DBF3D
analogous
#6E3DBF #AF3DBF #BF3D8E
triadic
#AF3DBF #BFAF3D #3DBFAF
tetradic
#AF3DBF #BF6E3D #4DBF3D #3D8EBF
square
#AF3DBF #BF6E3D #4DBF3D #3D8EBF
split-complementary
#AF3DBF #8EBF3D #3DBF6E
monochromatic
#5A1F62 #842E91 #AF3DBF #C36ACF #D698DE

Accessibility & contrast

On white

4.95
#AF3DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#AF3DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3DBF
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3DBF#FFFFFF#000000##FFFFFF
##AF3DBF1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1568C3
Deuteranopia (green-blind)
#4F74BC
Tritanopia (blue-blind)
#B15379
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af3dbf;
/* rgb */ color: rgb(175, 61, 191);
/* oklch */ color: oklch(57.3% 0.212 322.5);
Tailwind
colors: {
  custom: {
    50: '#ca7cd3',
    500: '#af3dbf',
    950: '#000000',
  },
}
SCSS
$custom: #af3dbf;
$custom-light: #ca7cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#af3dbf",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 191
  },
  "hsl": {
    "h": 292.615,
    "s": 51.587,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57262,
    "c": 0.21158,
    "h": 322.5
  },
  "luminance": 0.16213
}

Semantic roles & 50–950 ramp

primary
#AF3DBF
secondary
#95CA8E
accent
#DB4D5E
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AF3DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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