#AF3EAE#AF3EAE

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

Color values

HEX#AF3EAE
RGBrgb(175, 62, 174)
HSLhsl(301, 48%, 46%)
HSVhsv(301, 65%, 69%)
CMYKcmyk(0%, 64.6%, 0.6%, 31.4%)
CIE-LABlab(46.47, 59.59, -37.45)
CIE-LCHlch(46.47, 70.39, 327.85°)
OKLaboklab(56.4% 0.1665 -0.1034)
OKLCHoklch(56.4% 0.196 328.2)
XYZxyz(27.0415, 15.6170, 41.6263)
Luminance0.1562 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3EAE #3EAF3F
analogous
#783EAF #AF3EAE #AF3E76
triadic
#AF3EAE #AEAF3E #3EAEAF
tetradic
#AF3EAE #AF783E #3EAF3F #3E76AF
square
#AF3EAE #AF783E #3EAF3F #3E76AF
split-complementary
#AF3EAE #76AF3E #3EAF78
monochromatic
#551E54 #822E81 #AF3EAE #C863C7 #D890D7

Accessibility & contrast

On white

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

On black

4.12
#AF3EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF3EAE#FFFFFF#000000##FFFFFF
##AF3EAE1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3065B1
Deuteranopia (green-blind)
#5A73AB
Tritanopia (blue-blind)
#B44D71
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af3eae;
/* rgb */ color: rgb(175, 62, 174);
/* oklch */ color: oklch(56.4% 0.196 328.2);
Tailwind
colors: {
  custom: {
    50: '#ca7cc6',
    500: '#af3eae',
    950: '#000000',
  },
}
SCSS
$custom: #af3eae;
$custom-light: #ca7cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#af3eae",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 174
  },
  "hsl": {
    "h": 300.531,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56395,
    "c": 0.196,
    "h": 328.2
  },
  "luminance": 0.15615
}

Semantic roles & 50–950 ramp

primary
#AF3EAE
secondary
#86C387
accent
#D75251
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF3EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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