#AF4BB0#AF4BB0

#AF4BB0 is a mid, vivid purple. Relative luminance 0.173; OKLCH L 58.0% C 0.179 H 327.2°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#AF4BB0
RGBrgb(175, 75, 176)
HSLhsl(299, 40%, 49%)
HSVhsv(299, 57%, 69%)
CMYKcmyk(0.6%, 57.4%, 0%, 31%)
CIE-LABlab(48.61, 54.31, -35.25)
CIE-LCHlch(48.61, 64.74, 327.02°)
OKLaboklab(57.99% 0.1507 -0.0972)
OKLCHoklch(57.99% 0.179 327.2)
XYZxyz(28.0313, 17.2824, 42.9253)
Luminance0.1728 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4BB0 #4CB04B
analogous
#7D4BB0 #AF4BB0 #B04B7F
triadic
#AF4BB0 #B0AF4B #4BB0AF
tetradic
#AF4BB0 #B07D4B #4CB04B #4B7FB0
square
#AF4BB0 #B07D4B #4CB04B #4B7FB0
split-complementary
#AF4BB0 #7FB04B #4BB07D
monochromatic
#5A265A #843985 #AF4BB0 #C374C4 #D69FD6

Accessibility & contrast

On white

4.71
#AF4BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#AF4BB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4BB0
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4BB0#FFFFFF#000000##FFFFFF
##AF4BB01.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6BB3
Deuteranopia (green-blind)
#6178AD
Tritanopia (blue-blind)
#B45776
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af4bb0;
/* rgb */ color: rgb(175, 75, 176);
/* oklch */ color: oklch(58.0% 0.179 327.2);
Tailwind
colors: {
  custom: {
    50: '#c983c8',
    500: '#af4bb0',
    950: '#000000',
  },
}
SCSS
$custom: #af4bb0;
$custom-light: #c983c8;
$custom-dark: #000000;
JSON
{
  "hex": "#af4bb0",
  "rgb": {
    "r": 175,
    "g": 75,
    "b": 176
  },
  "hsl": {
    "h": 299.406,
    "s": 40.239,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57988,
    "c": 0.17934,
    "h": 327.2
  },
  "luminance": 0.17281
}

Semantic roles & 50–950 ramp

primary
#AF4BB0
secondary
#94C394
accent
#D05859
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #AF4BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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