#AF3EB8#AF3EB8

#AF3EB8 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.0% C 0.204 H 324.7°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#AF3EB8
RGBrgb(175, 62, 184)
HSLhsl(296, 50%, 48%)
HSVhsv(296, 66%, 72%)
CMYKcmyk(4.9%, 66.3%, 0%, 27.8%)
CIE-LABlab(47.00, 61.34, -42.47)
CIE-LCHlch(47.00, 74.61, 325.30°)
OKLaboklab(56.95% 0.1669 -0.118)
OKLCHoklch(56.95% 0.204 324.7)
XYZxyz(28.0529, 16.0216, 46.9530)
Luminance0.1602 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3EB8 #47B83E
analogous
#723EB8 #AF3EB8 #B83E84
triadic
#AF3EB8 #B8AF3E #3EB8AF
tetradic
#AF3EB8 #B8723E #47B83E #3E84B8
square
#AF3EB8 #B8723E #47B83E #3E84B8
split-complementary
#AF3EB8 #84B83E #3EB872
monochromatic
#581F5C #832F8A #AF3EB8 #C467CC #D695DB

Accessibility & contrast

On white

5.00
#AF3EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#AF3EB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3EB8
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3EB8#FFFFFF#000000##FFFFFF
##AF3EB81.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2467BC
Deuteranopia (green-blind)
#5474B5
Tritanopia (blue-blind)
#B35176
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af3eb8;
/* rgb */ color: rgb(175, 62, 184);
/* oklch */ color: oklch(57.0% 0.204 324.7);
Tailwind
colors: {
  custom: {
    50: '#ca7cce',
    500: '#af3eb8',
    950: '#000000',
  },
}
SCSS
$custom: #af3eb8;
$custom-light: #ca7cce;
$custom-dark: #000000;
JSON
{
  "hex": "#af3eb8",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 184
  },
  "hsl": {
    "h": 295.574,
    "s": 49.593,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56954,
    "c": 0.20435,
    "h": 324.7
  },
  "luminance": 0.1602
}

Semantic roles & 50–950 ramp

primary
#AF3EB8
secondary
#8FC78B
accent
#D94F59
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF3EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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