#AF3DB1#AF3DB1

#AF3DB1 is a mid, vivid purple. Relative luminance 0.156; OKLCH L 56.5% C 0.200 H 327.1°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#AF3DB1
RGBrgb(175, 61, 177)
HSLhsl(299, 49%, 47%)
HSVhsv(299, 66%, 69%)
CMYKcmyk(1.1%, 65.5%, 0%, 30.6%)
CIE-LABlab(46.48, 60.51, -39.20)
CIE-LCHlch(46.48, 72.10, 327.07°)
OKLaboklab(56.46% 0.1678 -0.1085)
OKLCHoklch(56.46% 0.2 327.1)
XYZxyz(27.2833, 15.6276, 43.1658)
Luminance0.1563 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3DB1 #3FB13D
analogous
#753DB1 #AF3DB1 #B13D79
triadic
#AF3DB1 #B1AF3D #3DB1AF
tetradic
#AF3DB1 #B1753D #3FB13D #3D79B1
square
#AF3DB1 #B1753D #3FB13D #3D79B1
split-complementary
#AF3DB1 #79B13D #3DB175
monochromatic
#551E56 #822D83 #AF3DB1 #C762C9 #D790D9

Accessibility & contrast

On white

5.09
#AF3DB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF3DB1
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3DB1#FFFFFF#000000##FFFFFF
##AF3DB11.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B65B4
Deuteranopia (green-blind)
#5873AE
Tritanopia (blue-blind)
#B44D72
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af3db1;
/* rgb */ color: rgb(175, 61, 177);
/* oklch */ color: oklch(56.5% 0.200 327.1);
Tailwind
colors: {
  custom: {
    50: '#ca7bc9',
    500: '#af3db1',
    950: '#000000',
  },
}
SCSS
$custom: #af3db1;
$custom-light: #ca7bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#af3db1",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 177
  },
  "hsl": {
    "h": 298.966,
    "s": 48.739,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56456,
    "c": 0.19978,
    "h": 327.1
  },
  "luminance": 0.15626
}

Semantic roles & 50–950 ramp

primary
#AF3DB1
secondary
#87C486
accent
#D85052
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF3DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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