#AF3EB5#AF3EB5

#AF3EB5 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 56.8% C 0.202 H 325.7°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#AF3EB5
RGBrgb(175, 62, 181)
HSLhsl(297, 49%, 48%)
HSVhsv(297, 66%, 71%)
CMYKcmyk(3.3%, 65.7%, 0%, 29%)
CIE-LABlab(46.84, 60.81, -40.98)
CIE-LCHlch(46.84, 73.33, 326.02°)
OKLaboklab(56.78% 0.1668 -0.1136)
OKLCHoklch(56.78% 0.202 325.7)
XYZxyz(27.7417, 15.8971, 45.3144)
Luminance0.1590 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3EB5 #44B53E
analogous
#743EB5 #AF3EB5 #B53E7F
triadic
#AF3EB5 #B5AF3E #3EB5AF
tetradic
#AF3EB5 #B5743E #44B53E #3E7FB5
square
#AF3EB5 #B5743E #44B53E #3E7FB5
split-complementary
#AF3EB5 #7FB53E #3EB574
monochromatic
#571F5A #832E87 #AF3EB5 #C566CA #D793DA

Accessibility & contrast

On white

5.03
#AF3EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#AF3EB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3EB5
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3EB5#FFFFFF#000000##FFFFFF
##AF3EB51.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2866B8
Deuteranopia (green-blind)
#5674B2
Tritanopia (blue-blind)
#B35074
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af3eb5;
/* rgb */ color: rgb(175, 62, 181);
/* oklch */ color: oklch(56.8% 0.202 325.7);
Tailwind
colors: {
  custom: {
    50: '#ca7ccb',
    500: '#af3eb5',
    950: '#000000',
  },
}
SCSS
$custom: #af3eb5;
$custom-light: #ca7ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#af3eb5",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 181
  },
  "hsl": {
    "h": 296.975,
    "s": 48.971,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56783,
    "c": 0.20182,
    "h": 325.7
  },
  "luminance": 0.15895
}

Semantic roles & 50–950 ramp

primary
#AF3EB5
secondary
#8CC589
accent
#D94F56
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF3EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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