#AF3BC5#AF3BC5

#AF3BC5 is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.4% C 0.219 H 320.8°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#AF3BC5
RGBrgb(175, 59, 197)
HSLhsl(290, 54%, 50%)
HSVhsv(290, 70%, 77%)
CMYKcmyk(11.2%, 70.1%, 0%, 22.7%)
CIE-LABlab(47.33, 64.85, -49.51)
CIE-LCHlch(47.33, 81.60, 322.64°)
OKLaboklab(57.43% 0.1698 -0.1385)
OKLCHoklch(57.43% 0.219 320.8)
XYZxyz(29.3200, 16.2746, 54.4094)
Luminance0.1627 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3BC5 #51C53B
analogous
#6A3BC5 #AF3BC5 #C53B96
triadic
#AF3BC5 #C5AF3B #3BC5AF
tetradic
#AF3BC5 #C56A3B #51C53B #3B96C5
square
#AF3BC5 #C56A3B #51C53B #3B96C5
split-complementary
#AF3BC5 #96C53B #3BC56A
monochromatic
#5C1F67 #852C96 #AF3BC5 #C26AD3 #D699E1

Accessibility & contrast

On white

4.94
#AF3BC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF3BC5
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3BC5#FFFFFF#000000##FFFFFF
##AF3BC51.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068C9
Deuteranopia (green-blind)
#4A74C2
Tritanopia (blue-blind)
#B0547C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af3bc5;
/* rgb */ color: rgb(175, 59, 197);
/* oklch */ color: oklch(57.4% 0.219 320.8);
Tailwind
colors: {
  custom: {
    50: '#cb7bd7',
    500: '#af3bc5',
    950: '#000000',
  },
}
SCSS
$custom: #af3bc5;
$custom-light: #cb7bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#af3bc5",
  "rgb": {
    "r": 175,
    "g": 59,
    "b": 197
  },
  "hsl": {
    "h": 290.435,
    "s": 54.331,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5743,
    "c": 0.21912,
    "h": 320.8
  },
  "luminance": 0.16273
}

Semantic roles & 50–950 ramp

primary
#AF3BC5
secondary
#99CD8F
accent
#DE4A62
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AF3BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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