#AF4BB3#AF4BB3

#AF4BB3 is a mid, vivid purple. Relative luminance 0.174; OKLCH L 58.1% C 0.182 H 326.1°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#AF4BB3
RGBrgb(175, 75, 179)
HSLhsl(298, 41%, 50%)
HSVhsv(298, 58%, 70%)
CMYKcmyk(2.2%, 58.1%, 0%, 29.8%)
CIE-LABlab(48.76, 54.85, -36.77)
CIE-LCHlch(48.76, 66.03, 326.16°)
OKLaboklab(58.15% 0.151 -0.1015)
OKLCHoklch(58.15% 0.182 326.1)
XYZxyz(28.3314, 17.4024, 44.5058)
Luminance0.1740 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4BB3 #4FB34B
analogous
#7B4BB3 #AF4BB3 #B34B83
triadic
#AF4BB3 #B3AF4B #4BB3AF
tetradic
#AF4BB3 #B37B4B #4FB34B #4B83B3
square
#AF4BB3 #B37B4B #4FB34B #4B83B3
split-complementary
#AF4BB3 #83B34B #4BB37B
monochromatic
#5B275D #853988 #AF4BB3 #C276C5 #D5A1D8

Accessibility & contrast

On white

4.69
#AF4BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#AF4BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4BB3
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4BB3#FFFFFF#000000##FFFFFF
##AF4BB31.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6CB6
Deuteranopia (green-blind)
#5F78B0
Tritanopia (blue-blind)
#B35878
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af4bb3;
/* rgb */ color: rgb(175, 75, 179);
/* oklch */ color: oklch(58.1% 0.182 326.1);
Tailwind
colors: {
  custom: {
    50: '#ca83ca',
    500: '#af4bb3',
    950: '#000000',
  },
}
SCSS
$custom: #af4bb3;
$custom-light: #ca83ca;
$custom-dark: #000000;
JSON
{
  "hex": "#af4bb3",
  "rgb": {
    "r": 175,
    "g": 75,
    "b": 179
  },
  "hsl": {
    "h": 297.692,
    "s": 40.945,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58146,
    "c": 0.182,
    "h": 326.1
  },
  "luminance": 0.17401
}

Semantic roles & 50–950 ramp

primary
#AF4BB3
secondary
#97C495
accent
#D1575C
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #AF4BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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