#AF4BB1#AF4BB1

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

Color values

HEX#AF4BB1
RGBrgb(175, 75, 177)
HSLhsl(299, 40%, 49%)
HSVhsv(299, 58%, 69%)
CMYKcmyk(1.1%, 57.6%, 0%, 30.6%)
CIE-LABlab(48.66, 54.49, -35.75)
CIE-LCHlch(48.66, 65.17, 326.73°)
OKLaboklab(58.04% 0.1509 -0.0986)
OKLCHoklch(58.04% 0.18 326.8)
XYZxyz(28.1306, 17.3221, 43.4483)
Luminance0.1732 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4BB1 #4DB14B
analogous
#7C4BB1 #AF4BB1 #B14B80
triadic
#AF4BB1 #B1AF4B #4BB1AF
tetradic
#AF4BB1 #B17C4B #4DB14B #4B80B1
square
#AF4BB1 #B17C4B #4DB14B #4B80B1
split-complementary
#AF4BB1 #80B14B #4BB17C
monochromatic
#5A275B #853986 #AF4BB1 #C375C4 #D6A0D7

Accessibility & contrast

On white

4.70
#AF4BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF4BB1
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4BB1#FFFFFF#000000##FFFFFF
##AF4BB11.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6BB4
Deuteranopia (green-blind)
#6078AE
Tritanopia (blue-blind)
#B45877
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af4bb1;
/* rgb */ color: rgb(175, 75, 177);
/* oklch */ color: oklch(58.0% 0.180 326.8);
Tailwind
colors: {
  custom: {
    50: '#c983c8',
    500: '#af4bb1',
    950: '#000000',
  },
}
SCSS
$custom: #af4bb1;
$custom-light: #c983c8;
$custom-dark: #000000;
JSON
{
  "hex": "#af4bb1",
  "rgb": {
    "r": 175,
    "g": 75,
    "b": 177
  },
  "hsl": {
    "h": 298.824,
    "s": 40.476,
    "l": 49.412
  },
  "oklch": {
    "l": 0.5804,
    "c": 0.18023,
    "h": 326.8
  },
  "luminance": 0.1732
}

Semantic roles & 50–950 ramp

primary
#AF4BB1
secondary
#95C394
accent
#D0575A
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #AF4BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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