#AF3BC4#AF3BC4

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

Color values

HEX#AF3BC4
RGBrgb(175, 59, 196)
HSLhsl(291, 54%, 50%)
HSVhsv(291, 70%, 77%)
CMYKcmyk(10.7%, 69.9%, 0%, 23.1%)
CIE-LABlab(47.27, 64.67, -49.03)
CIE-LCHlch(47.27, 81.16, 322.83°)
OKLaboklab(57.37% 0.1699 -0.1371)
OKLCHoklch(57.37% 0.218 321.1)
XYZxyz(29.2058, 16.2289, 53.8080)
Luminance0.1623 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3BC4 #50C43B
analogous
#6B3BC4 #AF3BC4 #C43B94
triadic
#AF3BC4 #C4AF3B #3BC4AF
tetradic
#AF3BC4 #C46B3B #50C43B #3B94C4
square
#AF3BC4 #C46B3B #50C43B #3B94C4
split-complementary
#AF3BC4 #94C43B #3BC46B
monochromatic
#5B1F66 #852D95 #AF3BC4 #C26AD2 #D599E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF3BC4#FFFFFF#000000##FFFFFF
##AF3BC41.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)
#0068C8
Deuteranopia (green-blind)
#4A74C1
Tritanopia (blue-blind)
#B0547C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af3bc4;
/* rgb */ color: rgb(175, 59, 196);
/* oklch */ color: oklch(57.4% 0.218 321.1);
Tailwind
colors: {
  custom: {
    50: '#cb7bd6',
    500: '#af3bc4',
    950: '#000000',
  },
}
SCSS
$custom: #af3bc4;
$custom-light: #cb7bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#af3bc4",
  "rgb": {
    "r": 175,
    "g": 59,
    "b": 196
  },
  "hsl": {
    "h": 290.803,
    "s": 53.725,
    "l": 50
  },
  "oklch": {
    "l": 0.57369,
    "c": 0.21827,
    "h": 321.1
  },
  "luminance": 0.16227
}

Semantic roles & 50–950 ramp

primary
#AF3BC4
secondary
#98CC8F
accent
#DD4B61
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AF3BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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