#AF3EAA#AF3EAA

#AF3EAA is a mid, vivid purple. Relative luminance 0.155; OKLCH L 56.2% C 0.193 H 329.6°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#AF3EAA
RGBrgb(175, 62, 170)
HSLhsl(303, 48%, 46%)
HSVhsv(303, 65%, 69%)
CMYKcmyk(0%, 64.6%, 2.9%, 31.4%)
CIE-LABlab(46.26, 58.91, -35.42)
CIE-LCHlch(46.26, 68.74, 328.99°)
OKLaboklab(56.18% 0.1662 -0.0975)
OKLCHoklch(56.18% 0.193 329.6)
XYZxyz(26.6573, 15.4634, 39.6031)
Luminance0.1546 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3EAA #3EAF43
analogous
#7C3EAF #AF3EAA #AF3E72
triadic
#AF3EAA #AAAF3E #3EAAAF
tetradic
#AF3EAA #AF7C3E #3EAF43 #3E72AF
square
#AF3EAA #AF7C3E #3EAF43 #3E72AF
split-complementary
#AF3EAA #72AF3E #3EAF7C
monochromatic
#551E52 #822E7E #AF3EAA #C863C3 #D890D4

Accessibility & contrast

On white

5.13
#AF3EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#AF3EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3EAA
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3EAA#FFFFFF#000000##FFFFFF
##AF3EAA1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3364AD
Deuteranopia (green-blind)
#5C73A7
Tritanopia (blue-blind)
#B54B6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af3eaa;
/* rgb */ color: rgb(175, 62, 170);
/* oklch */ color: oklch(56.2% 0.193 329.6);
Tailwind
colors: {
  custom: {
    50: '#ca7cc3',
    500: '#af3eaa',
    950: '#000000',
  },
}
SCSS
$custom: #af3eaa;
$custom-light: #ca7cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#af3eaa",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 170
  },
  "hsl": {
    "h": 302.655,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56179,
    "c": 0.19273,
    "h": 329.6
  },
  "luminance": 0.15461
}

Semantic roles & 50–950 ramp

primary
#AF3EAA
secondary
#86C389
accent
#D75651
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A12
muted
#827C81

Preview Lab

Preview with #AF3EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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