#AF3EAC#AF3EAC

#AF3EAC is a mid, vivid purple. Relative luminance 0.155; OKLCH L 56.3% C 0.194 H 328.9°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#AF3EAC
RGBrgb(175, 62, 172)
HSLhsl(302, 48%, 46%)
HSVhsv(302, 65%, 69%)
CMYKcmyk(0%, 64.6%, 1.7%, 31.4%)
CIE-LABlab(46.36, 59.25, -36.44)
CIE-LCHlch(46.36, 69.56, 328.41°)
OKLaboklab(56.29% 0.1664 -0.1005)
OKLCHoklch(56.29% 0.194 328.9)
XYZxyz(26.8479, 15.5396, 40.6071)
Luminance0.1554 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3EAC #3EAF41
analogous
#7A3EAF #AF3EAC #AF3E74
triadic
#AF3EAC #ACAF3E #3EACAF
tetradic
#AF3EAC #AF7A3E #3EAF41 #3E74AF
square
#AF3EAC #AF7A3E #3EAF41 #3E74AF
split-complementary
#AF3EAC #74AF3E #3EAF7A
monochromatic
#551E53 #822E80 #AF3EAC #C863C5 #D890D6

Accessibility & contrast

On white

5.11
#AF3EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#AF3EAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3EAC
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3EAC#FFFFFF#000000##FFFFFF
##AF3EAC1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3264AF
Deuteranopia (green-blind)
#5B73A9
Tritanopia (blue-blind)
#B54C70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af3eac;
/* rgb */ color: rgb(175, 62, 172);
/* oklch */ color: oklch(56.3% 0.194 328.9);
Tailwind
colors: {
  custom: {
    50: '#ca7cc5',
    500: '#af3eac',
    950: '#000000',
  },
}
SCSS
$custom: #af3eac;
$custom-light: #ca7cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#af3eac",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 172
  },
  "hsl": {
    "h": 301.593,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56286,
    "c": 0.19436,
    "h": 328.9
  },
  "luminance": 0.15538
}

Semantic roles & 50–950 ramp

primary
#AF3EAC
secondary
#86C388
accent
#D75451
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF3EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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