#B477CB#B477CB

#B477CB is a light, vivid purple. Relative luminance 0.272; OKLCH L 66.4% C 0.137 H 316.3°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#B477CB
RGBrgb(180, 119, 203)
HSLhsl(284, 45%, 63%)
HSVhsv(284, 41%, 80%)
CMYKcmyk(11.3%, 41.4%, 0%, 20.4%)
CIE-LABlab(59.17, 38.42, -34.22)
CIE-LCHlch(59.17, 51.45, 318.31°)
OKLaboklab(66.36% 0.0989 -0.0944)
OKLCHoklch(66.36% 0.137 316.3)
XYZxyz(36.1971, 27.2097, 59.8335)
Luminance0.2721 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B477CB #8ECB77
analogous
#8A77CB #B477CB #CB77B8
triadic
#B477CB #CBB477 #77CBB4
tetradic
#B477CB #CB8A77 #8ECB77 #77B8CB
square
#B477CB #CB8A77 #8ECB77 #77B8CB
split-complementary
#B477CB #B8CB77 #77CB8A
monochromatic
#783790 #9C4BBA #B477CB #CCA3DC #E5D0ED

Accessibility & contrast

On white

3.26
#B477CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#B477CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B477CB
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B477CB#FFFFFF#000000##000000
##B477CB1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#698BCE
Deuteranopia (green-blind)
#7990C9
Tritanopia (blue-blind)
#B38297
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b477cb;
/* rgb */ color: rgb(180, 119, 203);
/* oklch */ color: oklch(66.4% 0.137 316.3);
Tailwind
colors: {
  custom: {
    50: '#cc9fdb',
    500: '#b477cb',
    950: '#000000',
  },
}
SCSS
$custom: #b477cb;
$custom-light: #cc9fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#b477cb",
  "rgb": {
    "r": 180,
    "g": 119,
    "b": 203
  },
  "hsl": {
    "h": 283.571,
    "s": 44.681,
    "l": 63.137
  },
  "oklch": {
    "l": 0.66359,
    "c": 0.13674,
    "h": 316.3
  },
  "luminance": 0.27209
}

Semantic roles & 50–950 ramp

primary
#B477CB
secondary
#C8DEC0
accent
#B82E53
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130F15
muted
#827E83

Preview Lab

Preview with #B477CB

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

Preview Lab → · Contrast checker → · Palette generator →

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