#AF4BB5#AF4BB5

#AF4BB5 is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.3% C 0.184 H 325.4°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#AF4BB5
RGBrgb(175, 75, 181)
HSLhsl(297, 42%, 50%)
HSVhsv(297, 59%, 71%)
CMYKcmyk(3.3%, 58.6%, 0%, 29%)
CIE-LABlab(48.86, 55.21, -37.78)
CIE-LCHlch(48.86, 66.90, 325.62°)
OKLaboklab(58.25% 0.1512 -0.1045)
OKLCHoklch(58.25% 0.184 325.4)
XYZxyz(28.5351, 17.4839, 45.5788)
Luminance0.1748 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4BB5 #51B54B
analogous
#7A4BB5 #AF4BB5 #B54B86
triadic
#AF4BB5 #B5AF4B #4BB5AF
tetradic
#AF4BB5 #B57A4B #51B54B #4B86B5
square
#AF4BB5 #B57A4B #51B54B #4B86B5
split-complementary
#AF4BB5 #86B54B #4BB57A
monochromatic
#5C275F #85398A #AF4BB5 #C276C7 #D6A2D9

Accessibility & contrast

On white

4.67
#AF4BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#AF4BB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4BB5
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4BB5#FFFFFF#000000##FFFFFF
##AF4BB51.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6CB8
Deuteranopia (green-blind)
#5E78B2
Tritanopia (blue-blind)
#B35979
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af4bb5;
/* rgb */ color: rgb(175, 75, 181);
/* oklch */ color: oklch(58.3% 0.184 325.4);
Tailwind
colors: {
  custom: {
    50: '#ca83cb',
    500: '#af4bb5',
    950: '#000000',
  },
}
SCSS
$custom: #af4bb5;
$custom-light: #ca83cb;
$custom-dark: #000000;
JSON
{
  "hex": "#af4bb5",
  "rgb": {
    "r": 175,
    "g": 75,
    "b": 181
  },
  "hsl": {
    "h": 296.604,
    "s": 41.732,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58252,
    "c": 0.18378,
    "h": 325.4
  },
  "luminance": 0.17482
}

Semantic roles & 50–950 ramp

primary
#AF4BB5
secondary
#99C696
accent
#D2565D
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #AF4BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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