#AF3FAE#AF3FAE

#AF3FAE is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.5% C 0.195 H 328.1°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#AF3FAE
RGBrgb(175, 63, 174)
HSLhsl(301, 47%, 47%)
HSVhsv(301, 64%, 69%)
CMYKcmyk(0%, 64%, 0.6%, 31.4%)
CIE-LABlab(46.61, 59.19, -37.22)
CIE-LCHlch(46.61, 69.92, 327.83°)
OKLaboklab(56.5% 0.1653 -0.1028)
OKLCHoklch(56.5% 0.195 328.1)
XYZxyz(27.0963, 15.7268, 41.6446)
Luminance0.1573 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3FAE #3FAF40
analogous
#783FAF #AF3FAE #AF3F76
triadic
#AF3FAE #AEAF3F #3FAEAF
tetradic
#AF3FAE #AF783F #3FAF40 #3F76AF
square
#AF3FAE #AF783F #3FAF40 #3F76AF
split-complementary
#AF3FAE #76AF3F #3FAF78
monochromatic
#551F55 #822F81 #AF3FAE #C764C6 #D791D7

Accessibility & contrast

On white

5.07
#AF3FAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#AF3FAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3FAE
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3FAE#FFFFFF#000000##FFFFFF
##AF3FAE1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af3fae;
/* rgb */ color: rgb(175, 63, 174);
/* oklch */ color: oklch(56.5% 0.195 328.1);
Tailwind
colors: {
  custom: {
    50: '#ca7cc6',
    500: '#af3fae',
    950: '#000000',
  },
}
SCSS
$custom: #af3fae;
$custom-light: #ca7cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#af3fae",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 174
  },
  "hsl": {
    "h": 300.536,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.565,
    "c": 0.19467,
    "h": 328.1
  },
  "luminance": 0.15725
}

Semantic roles & 50–950 ramp

primary
#AF3FAE
secondary
#87C388
accent
#D75251
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF3FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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