#AF5EA4#AF5EA4

#AF5EA4 is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.0% C 0.138 H 332.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#AF5EA4
RGBrgb(175, 94, 164)
HSLhsl(308, 34%, 53%)
HSVhsv(308, 46%, 69%)
CMYKcmyk(0%, 46.3%, 6.3%, 31.4%)
CIE-LABlab(51.61, 42.77, -23.55)
CIE-LCHlch(51.61, 48.82, 331.17°)
OKLaboklab(60.03% 0.122 -0.0639)
OKLCHoklch(60.03% 0.138 332.4)
XYZxyz(28.3826, 19.8014, 37.4418)
Luminance0.1980 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5EA4 #5EAF69
analogous
#915EAF #AF5EA4 #AF5E7B
triadic
#AF5EA4 #A4AF5E #5EA4AF
tetradic
#AF5EA4 #AF915E #5EAF69 #5E7BAF
square
#AF5EA4 #AF915E #5EAF69 #5E7BAF
split-complementary
#AF5EA4 #7BAF5E #5EAF91
monochromatic
#62315B #8B4581 #AF5EA4 #C387BB #D8B0D2

Accessibility & contrast

On white

4.23
#AF5EA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#AF5EA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5EA4
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5EA4#FFFFFF#000000##000000
##AF5EA41.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C74A6
Deuteranopia (green-blind)
#727FA2
Tritanopia (blue-blind)
#B56379
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #af5ea4;
/* rgb */ color: rgb(175, 94, 164);
/* oklch */ color: oklch(60.0% 0.138 332.4);
Tailwind
colors: {
  custom: {
    50: '#c98ebf',
    500: '#af5ea4',
    950: '#000000',
  },
}
SCSS
$custom: #af5ea4;
$custom-light: #c98ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#af5ea4",
  "rgb": {
    "r": 175,
    "g": 94,
    "b": 164
  },
  "hsl": {
    "h": 308.148,
    "s": 33.61,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60026,
    "c": 0.13774,
    "h": 332.4
  },
  "luminance": 0.198
}

Semantic roles & 50–950 ramp

primary
#AF5EA4
secondary
#A3C6A8
accent
#CA6D5E
background
#FCF8FB
surface
#F8F0F7
border
#D1CBD0
text
#130C12
muted
#827D81

Preview Lab

Preview with #AF5EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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