#AF3DB2#AF3DB2

#AF3DB2 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.5% C 0.201 H 326.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#AF3DB2
RGBrgb(175, 61, 178)
HSLhsl(298, 49%, 47%)
HSVhsv(298, 66%, 70%)
CMYKcmyk(1.7%, 65.7%, 0%, 30.2%)
CIE-LABlab(46.54, 60.68, -39.70)
CIE-LCHlch(46.54, 72.52, 326.81°)
OKLaboklab(56.51% 0.1678 -0.1099)
OKLCHoklch(56.51% 0.201 326.8)
XYZxyz(27.3833, 15.6676, 43.6927)
Luminance0.1567 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3DB2 #40B23D
analogous
#753DB2 #AF3DB2 #B23D7A
triadic
#AF3DB2 #B2AF3D #3DB2AF
tetradic
#AF3DB2 #B2753D #40B23D #3D7AB2
square
#AF3DB2 #B2753D #40B23D #3D7AB2
split-complementary
#AF3DB2 #7AB23D #3DB275
monochromatic
#551E57 #822D84 #AF3DB2 #C763C9 #D790D9

Accessibility & contrast

On white

5.08
#AF3DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#AF3DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3DB2
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3DB2#FFFFFF#000000##FFFFFF
##AF3DB21.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A65B5
Deuteranopia (green-blind)
#5773AF
Tritanopia (blue-blind)
#B44E72
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af3db2;
/* rgb */ color: rgb(175, 61, 178);
/* oklch */ color: oklch(56.5% 0.201 326.8);
Tailwind
colors: {
  custom: {
    50: '#ca7bc9',
    500: '#af3db2',
    950: '#000000',
  },
}
SCSS
$custom: #af3db2;
$custom-light: #ca7bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#af3db2",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 178
  },
  "hsl": {
    "h": 298.462,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56512,
    "c": 0.20061,
    "h": 326.8
  },
  "luminance": 0.15666
}

Semantic roles & 50–950 ramp

primary
#AF3DB2
secondary
#88C487
accent
#D94F53
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF3DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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