#AF5EAD#AF5EAD

#AF5EAD is a mid, vivid purple. Relative luminance 0.201; OKLCH L 60.4% C 0.146 H 328.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#AF5EAD
RGBrgb(175, 94, 173)
HSLhsl(301, 34%, 53%)
HSVhsv(301, 46%, 69%)
CMYKcmyk(0%, 46.3%, 1.1%, 31.4%)
CIE-LABlab(51.99, 44.40, -28.21)
CIE-LCHlch(51.99, 52.61, 327.57°)
OKLaboklab(60.44% 0.1239 -0.0771)
OKLCHoklch(60.44% 0.146 328.1)
XYZxyz(29.2243, 20.1380, 41.8748)
Luminance0.2014 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5EAD #5EAF60
analogous
#885EAF #AF5EAD #AF5E85
triadic
#AF5EAD #ADAF5E #5EADAF
tetradic
#AF5EAD #AF885E #5EAF60 #5E85AF
square
#AF5EAD #AF885E #5EAF60 #5E85AF
split-complementary
#AF5EAD #85AF5E #5EAF88
monochromatic
#623161 #8B4589 #AF5EAD #C387C2 #D8B0D7

Accessibility & contrast

On white

4.18
#AF5EAD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#AF5EAD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5EAD
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5EAD#FFFFFF#000000##000000
##AF5EAD1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5875B0
Deuteranopia (green-blind)
#6F80AB
Tritanopia (blue-blind)
#B4667D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #af5ead;
/* rgb */ color: rgb(175, 94, 173);
/* oklch */ color: oklch(60.4% 0.146 328.1);
Tailwind
colors: {
  custom: {
    50: '#c98ec5',
    500: '#af5ead',
    950: '#000000',
  },
}
SCSS
$custom: #af5ead;
$custom-light: #c98ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#af5ead",
  "rgb": {
    "r": 175,
    "g": 94,
    "b": 173
  },
  "hsl": {
    "h": 301.481,
    "s": 33.61,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60435,
    "c": 0.14597,
    "h": 328.1
  },
  "luminance": 0.20136
}

Semantic roles & 50–950 ramp

primary
#AF5EAD
secondary
#A3C6A4
accent
#CA615E
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #AF5EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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