#AF3BBC#AF3BBC

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

Color values

HEX#AF3BBC
RGBrgb(175, 59, 188)
HSLhsl(294, 52%, 48%)
HSVhsv(294, 69%, 74%)
CMYKcmyk(6.9%, 68.6%, 0%, 26.3%)
CIE-LABlab(46.81, 63.22, -45.12)
CIE-LCHlch(46.81, 77.67, 324.49°)
OKLaboklab(56.89% 0.1701 -0.1257)
OKLCHoklch(56.89% 0.211 323.5)
XYZxyz(28.3194, 15.8744, 49.1396)
Luminance0.1587 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3BBC #48BC3B
analogous
#6E3BBC #AF3BBC #BC3B89
triadic
#AF3BBC #BCAF3B #3BBCAF
tetradic
#AF3BBC #BC6E3B #48BC3B #3B89BC
square
#AF3BBC #BC6E3B #48BC3B #3B89BC
split-complementary
#AF3BBC #89BC3B #3BBC6E
monochromatic
#581E5F #842C8D #AF3BBC #C465CF #D694DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF3BBC#FFFFFF#000000##FFFFFF
##AF3BBC1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1666C0
Deuteranopia (green-blind)
#5074B9
Tritanopia (blue-blind)
#B25177
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af3bbc;
/* rgb */ color: rgb(175, 59, 188);
/* oklch */ color: oklch(56.9% 0.211 323.5);
Tailwind
colors: {
  custom: {
    50: '#ca7bd1',
    500: '#af3bbc',
    950: '#000000',
  },
}
SCSS
$custom: #af3bbc;
$custom-light: #ca7bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#af3bbc",
  "rgb": {
    "r": 175,
    "g": 59,
    "b": 188
  },
  "hsl": {
    "h": 293.953,
    "s": 52.227,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56887,
    "c": 0.21147,
    "h": 323.5
  },
  "luminance": 0.15873
}

Semantic roles & 50–950 ramp

primary
#AF3BBC
secondary
#90C98A
accent
#DC4C5B
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AF3BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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