#AF4BB8#AF4BB8

#AF4BB8 is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.4% C 0.186 H 324.3°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#AF4BB8
RGBrgb(175, 75, 184)
HSLhsl(295, 43%, 51%)
HSVhsv(295, 59%, 72%)
CMYKcmyk(4.9%, 59.2%, 0%, 27.8%)
CIE-LABlab(49.02, 55.76, -39.28)
CIE-LCHlch(49.02, 68.21, 324.84°)
OKLaboklab(58.41% 0.1514 -0.1088)
OKLCHoklch(58.41% 0.186 324.3)
XYZxyz(28.8463, 17.6084, 47.2175)
Luminance0.1761 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4BB8 #54B84B
analogous
#784BB8 #AF4BB8 #B84B8A
triadic
#AF4BB8 #B8AF4B #4BB8AF
tetradic
#AF4BB8 #B8784B #54B84B #4B8AB8
square
#AF4BB8 #B8784B #54B84B #4B8AB8
split-complementary
#AF4BB8 #8AB84B #4BB878
monochromatic
#5D2762 #87388E #AF4BB8 #C377C9 #D6A3DB

Accessibility & contrast

On white

4.64
#AF4BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#AF4BB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4BB8
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4BB8#FFFFFF#000000##FFFFFF
##AF4BB81.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396DBB
Deuteranopia (green-blind)
#5D79B5
Tritanopia (blue-blind)
#B25A7A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af4bb8;
/* rgb */ color: rgb(175, 75, 184);
/* oklch */ color: oklch(58.4% 0.186 324.3);
Tailwind
colors: {
  custom: {
    50: '#ca83ce',
    500: '#af4bb8',
    950: '#000000',
  },
}
SCSS
$custom: #af4bb8;
$custom-light: #ca83ce;
$custom-dark: #000000;
JSON
{
  "hex": "#af4bb8",
  "rgb": {
    "r": 175,
    "g": 75,
    "b": 184
  },
  "hsl": {
    "h": 295.046,
    "s": 43.426,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58414,
    "c": 0.18649,
    "h": 324.3
  },
  "luminance": 0.17607
}

Semantic roles & 50–950 ramp

primary
#AF4BB8
secondary
#9BC897
accent
#D3555F
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B13
muted
#827C82

Preview Lab

Preview with #AF4BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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