#AF3EB4#AF3EB4

#AF3EB4 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 56.7% C 0.201 H 326.1°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#AF3EB4
RGBrgb(175, 62, 180)
HSLhsl(297, 49%, 47%)
HSVhsv(297, 66%, 71%)
CMYKcmyk(2.8%, 65.6%, 0%, 29.4%)
CIE-LABlab(46.79, 60.63, -40.48)
CIE-LCHlch(46.79, 72.90, 326.27°)
OKLaboklab(56.73% 0.1668 -0.1122)
OKLCHoklch(56.73% 0.201 326.1)
XYZxyz(27.6395, 15.8563, 44.7759)
Luminance0.1585 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3EB4 #43B43E
analogous
#743EB4 #AF3EB4 #B43E7E
triadic
#AF3EB4 #B4AF3E #3EB4AF
tetradic
#AF3EB4 #B4743E #43B43E #3E7EB4
square
#AF3EB4 #B4743E #43B43E #3E7EB4
split-complementary
#AF3EB4 #7EB43E #3EB474
monochromatic
#561F59 #832E86 #AF3EB4 #C665CA #D793DA

Accessibility & contrast

On white

5.04
#AF3EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#AF3EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3EB4
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3EB4#FFFFFF#000000##FFFFFF
##AF3EB41.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2966B7
Deuteranopia (green-blind)
#5774B1
Tritanopia (blue-blind)
#B34F74
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af3eb4;
/* rgb */ color: rgb(175, 62, 180);
/* oklch */ color: oklch(56.7% 0.201 326.1);
Tailwind
colors: {
  custom: {
    50: '#ca7ccb',
    500: '#af3eb4',
    950: '#000000',
  },
}
SCSS
$custom: #af3eb4;
$custom-light: #ca7ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#af3eb4",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 180
  },
  "hsl": {
    "h": 297.458,
    "s": 48.76,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56727,
    "c": 0.20099,
    "h": 326.1
  },
  "luminance": 0.15854
}

Semantic roles & 50–950 ramp

primary
#AF3EB4
secondary
#8BC589
accent
#D84F55
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF3EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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