#B477AA#B477AA

#B477AA is a light, moderate purple. Relative luminance 0.258; OKLCH L 64.9% C 0.102 H 332.7°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#B477AA
RGBrgb(180, 119, 170)
HSLhsl(310, 29%, 59%)
HSVhsv(310, 34%, 71%)
CMYKcmyk(0%, 33.9%, 5.6%, 29.4%)
CIE-LABlab(57.85, 31.95, -17.43)
CIE-LCHlch(57.85, 36.40, 331.39°)
OKLaboklab(64.93% 0.0908 -0.0469)
OKLCHoklch(64.93% 0.102 332.7)
XYZxyz(32.6745, 25.8007, 41.2813)
Luminance0.2580 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B477AA #77B481
analogous
#9F77B4 #B477AA #B4778B
triadic
#B477AA #AAB477 #77AAB4
tetradic
#B477AA #B49F77 #77B481 #778BB4
square
#B477AA #B49F77 #77B481 #778BB4
split-complementary
#B477AA #8BB477 #77B49F
monochromatic
#723F69 #99558E #B477AA #CA9EC3 #E0C6DB

Accessibility & contrast

On white

3.41
#B477AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#B477AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B477AA
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B477AA#FFFFFF#000000##000000
##B477AA1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7686AC
Deuteranopia (green-blind)
#858EA8
Tritanopia (blue-blind)
#B97A89
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b477aa;
/* rgb */ color: rgb(180, 119, 170);
/* oklch */ color: oklch(64.9% 0.102 332.7);
Tailwind
colors: {
  custom: {
    50: '#cb9fc3',
    500: '#b477aa',
    950: '#000000',
  },
}
SCSS
$custom: #b477aa;
$custom-light: #cb9fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#b477aa",
  "rgb": {
    "r": 180,
    "g": 119,
    "b": 170
  },
  "hsl": {
    "h": 309.836,
    "s": 28.91,
    "l": 58.627
  },
  "oklch": {
    "l": 0.64928,
    "c": 0.10221,
    "h": 332.7
  },
  "luminance": 0.25799
}

Semantic roles & 50–950 ramp

primary
#B477AA
secondary
#B7CFBB
accent
#C57363
background
#FCF9FC
surface
#F9F2F8
border
#D2CCD1
text
#130E12
muted
#827E81

Preview Lab

Preview with #B477AA

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

Preview Lab → · Contrast checker → · Palette generator →

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