#AF3EC0#AF3EC0

#AF3EC0 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.4% C 0.211 H 322.2°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#AF3EC0
RGBrgb(175, 62, 192)
HSLhsl(292, 51%, 50%)
HSVhsv(292, 68%, 75%)
CMYKcmyk(8.9%, 67.7%, 0%, 24.7%)
CIE-LABlab(47.45, 62.78, -46.42)
CIE-LCHlch(47.45, 78.08, 323.52°)
OKLaboklab(57.42% 0.1668 -0.1295)
OKLCHoklch(57.42% 0.211 322.2)
XYZxyz(28.9153, 16.3666, 51.4950)
Luminance0.1636 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3EC0 #4FC03E
analogous
#6E3EC0 #AF3EC0 #C03E90
triadic
#AF3EC0 #C0AF3E #3EC0AF
tetradic
#AF3EC0 #C06E3E #4FC03E #3E90C0
square
#AF3EC0 #C06E3E #4FC03E #3E90C0
split-complementary
#AF3EC0 #90C03E #3EC06E
monochromatic
#5B2063 #852F92 #AF3EC0 #C26CCF #D59ADE

Accessibility & contrast

On white

4.91
#AF3EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#AF3EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3EC0
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3EC0#FFFFFF#000000##FFFFFF
##AF3EC01.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1668C4
Deuteranopia (green-blind)
#4F75BD
Tritanopia (blue-blind)
#B1547A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af3ec0;
/* rgb */ color: rgb(175, 62, 192);
/* oklch */ color: oklch(57.4% 0.211 322.2);
Tailwind
colors: {
  custom: {
    50: '#ca7cd3',
    500: '#af3ec0',
    950: '#000000',
  },
}
SCSS
$custom: #af3ec0;
$custom-light: #ca7cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#af3ec0",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 192
  },
  "hsl": {
    "h": 292.154,
    "s": 51.181,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57422,
    "c": 0.2112,
    "h": 322.2
  },
  "luminance": 0.16365
}

Semantic roles & 50–950 ramp

primary
#AF3EC0
secondary
#97CA8F
accent
#DB4D60
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AF3EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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