#AF3EC3#AF3EC3

#AF3EC3 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.6% C 0.214 H 321.3°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#AF3EC3
RGBrgb(175, 62, 195)
HSLhsl(291, 53%, 50%)
HSVhsv(291, 68%, 76%)
CMYKcmyk(10.3%, 68.2%, 0%, 23.5%)
CIE-LABlab(47.62, 63.33, -47.89)
CIE-LCHlch(47.62, 79.40, 322.90°)
OKLaboklab(57.6% 0.1668 -0.1338)
OKLCHoklch(57.6% 0.214 321.3)
XYZxyz(29.2510, 16.5009, 53.2634)
Luminance0.1650 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3EC3 #52C33E
analogous
#6C3EC3 #AF3EC3 #C33E95
triadic
#AF3EC3 #C3AF3E #3EC3AF
tetradic
#AF3EC3 #C36C3E #52C33E #3E95C3
square
#AF3EC3 #C36C3E #52C33E #3E95C3
split-complementary
#AF3EC3 #95C33E #3EC36C
monochromatic
#5C2067 #862E95 #AF3EC3 #C26DD2 #D69BE0

Accessibility & contrast

On white

4.88
#AF3EC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#AF3EC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3EC3
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3EC3#FFFFFF#000000##FFFFFF
##AF3EC31.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D69C7
Deuteranopia (green-blind)
#4D75C0
Tritanopia (blue-blind)
#B1557C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af3ec3;
/* rgb */ color: rgb(175, 62, 195);
/* oklch */ color: oklch(57.6% 0.214 321.3);
Tailwind
colors: {
  custom: {
    50: '#ca7cd6',
    500: '#af3ec3',
    950: '#000000',
  },
}
SCSS
$custom: #af3ec3;
$custom-light: #ca7cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#af3ec3",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 195
  },
  "hsl": {
    "h": 290.977,
    "s": 52.569,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57602,
    "c": 0.2138,
    "h": 321.3
  },
  "luminance": 0.16499
}

Semantic roles & 50–950 ramp

primary
#AF3EC3
secondary
#9ACC91
accent
#DC4C61
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AF3EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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