#AF3EBD#AF3EBD

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

Color values

HEX#AF3EBD
RGBrgb(175, 62, 189)
HSLhsl(293, 51%, 49%)
HSVhsv(293, 67%, 74%)
CMYKcmyk(7.4%, 67.2%, 0%, 25.9%)
CIE-LABlab(47.28, 62.23, -44.95)
CIE-LCHlch(47.28, 76.77, 324.16°)
OKLaboklab(57.24% 0.1669 -0.1252)
OKLCHoklch(57.24% 0.209 323.1)
XYZxyz(28.5863, 16.2350, 49.7622)
Luminance0.1623 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3EBD #4CBD3E
analogous
#703EBD #AF3EBD #BD3E8C
triadic
#AF3EBD #BDAF3E #3EBDAF
tetradic
#AF3EBD #BD703E #4CBD3E #3E8CBD
square
#AF3EBD #BD703E #4CBD3E #3E8CBD
split-complementary
#AF3EBD #8CBD3E #3EBD70
monochromatic
#5A2061 #842F8F #AF3EBD #C36ACE #D698DD

Accessibility & contrast

On white

4.95
#AF3EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#AF3EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3EBD
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3EBD#FFFFFF#000000##FFFFFF
##AF3EBD1.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C68C1
Deuteranopia (green-blind)
#5175BA
Tritanopia (blue-blind)
#B25379
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af3ebd;
/* rgb */ color: rgb(175, 62, 189);
/* oklch */ color: oklch(57.2% 0.209 323.1);
Tailwind
colors: {
  custom: {
    50: '#ca7cd1',
    500: '#af3ebd',
    950: '#000000',
  },
}
SCSS
$custom: #af3ebd;
$custom-light: #ca7cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#af3ebd",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 189
  },
  "hsl": {
    "h": 293.386,
    "s": 50.598,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57244,
    "c": 0.20862,
    "h": 323.1
  },
  "luminance": 0.16233
}

Semantic roles & 50–950 ramp

primary
#AF3EBD
secondary
#94C98E
accent
#DA4E5D
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AF3EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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