#AF3BBD#AF3BBD

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

Color values

HEX#AF3BBD
RGBrgb(175, 59, 189)
HSLhsl(294, 52%, 49%)
HSVhsv(294, 69%, 74%)
CMYKcmyk(7.4%, 68.8%, 0%, 25.9%)
CIE-LABlab(46.87, 63.40, -45.61)
CIE-LCHlch(46.87, 78.10, 324.27°)
OKLaboklab(56.95% 0.1701 -0.1271)
OKLCHoklch(56.95% 0.212 323.2)
XYZxyz(28.4276, 15.9177, 49.7093)
Luminance0.1592 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3BBD #49BD3B
analogous
#6E3BBD #AF3BBD #BD3B8A
triadic
#AF3BBD #BDAF3B #3BBDAF
tetradic
#AF3BBD #BD6E3B #49BD3B #3B8ABD
square
#AF3BBD #BD6E3B #49BD3B #3B8ABD
split-complementary
#AF3BBD #8ABD3B #3BBD6E
monochromatic
#591E60 #842C8E #AF3BBD #C466CF #D695DE

Accessibility & contrast

On white

5.02
#AF3BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF3BBD
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3BBD#FFFFFF#000000##FFFFFF
##AF3BBD1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1466C1
Deuteranopia (green-blind)
#4F74BA
Tritanopia (blue-blind)
#B25178
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af3bbd;
/* rgb */ color: rgb(175, 59, 189);
/* oklch */ color: oklch(56.9% 0.212 323.2);
Tailwind
colors: {
  custom: {
    50: '#ca7bd1',
    500: '#af3bbd',
    950: '#000000',
  },
}
SCSS
$custom: #af3bbd;
$custom-light: #ca7bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#af3bbd",
  "rgb": {
    "r": 175,
    "g": 59,
    "b": 189
  },
  "hsl": {
    "h": 293.538,
    "s": 52.419,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56946,
    "c": 0.21232,
    "h": 323.2
  },
  "luminance": 0.15916
}

Semantic roles & 50–950 ramp

primary
#AF3BBD
secondary
#91C98B
accent
#DC4C5B
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AF3BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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