#AF3EBC#AF3EBC

#AF3EBC is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.2% C 0.208 H 323.4°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#AF3EBC
RGBrgb(175, 62, 188)
HSLhsl(294, 50%, 49%)
HSVhsv(294, 67%, 74%)
CMYKcmyk(6.9%, 67%, 0%, 26.3%)
CIE-LABlab(47.23, 62.05, -44.46)
CIE-LCHlch(47.23, 76.34, 324.38°)
OKLaboklab(57.19% 0.1669 -0.1238)
OKLCHoklch(57.19% 0.208 323.4)
XYZxyz(28.4781, 16.1917, 49.1925)
Luminance0.1619 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3EBC #4BBC3E
analogous
#703EBC #AF3EBC #BC3E8A
triadic
#AF3EBC #BCAF3E #3EBCAF
tetradic
#AF3EBC #BC703E #4BBC3E #3E8ABC
square
#AF3EBC #BC703E #4BBC3E #3E8ABC
split-complementary
#AF3EBC #8ABC3E #3EBC70
monochromatic
#592060 #842F8E #AF3EBC #C36ACE #D698DD

Accessibility & contrast

On white

4.96
#AF3EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#AF3EBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3EBC
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3EBC#FFFFFF#000000##FFFFFF
##AF3EBC1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E67C0
Deuteranopia (green-blind)
#5275B9
Tritanopia (blue-blind)
#B25378
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af3ebc;
/* rgb */ color: rgb(175, 62, 188);
/* oklch */ color: oklch(57.2% 0.208 323.4);
Tailwind
colors: {
  custom: {
    50: '#ca7cd1',
    500: '#af3ebc',
    950: '#000000',
  },
}
SCSS
$custom: #af3ebc;
$custom-light: #ca7cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#af3ebc",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 188
  },
  "hsl": {
    "h": 293.81,
    "s": 50.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57186,
    "c": 0.20776,
    "h": 323.4
  },
  "luminance": 0.1619
}

Semantic roles & 50–950 ramp

primary
#AF3EBC
secondary
#93C98D
accent
#DA4E5C
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AF3EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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