#B477DB#B477DB

#B477DB is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.1% C 0.155 H 311.0°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#B477DB
RGBrgb(180, 119, 219)
HSLhsl(277, 58%, 66%)
HSVhsv(277, 46%, 86%)
CMYKcmyk(17.8%, 45.7%, 0%, 14.1%)
CIE-LABlab(59.90, 41.84, -42.08)
CIE-LCHlch(59.90, 59.34, 314.84°)
OKLaboklab(67.15% 0.1017 -0.1171)
OKLCHoklch(67.15% 0.155 311)
XYZxyz(38.2031, 28.0121, 70.3985)
Luminance0.2801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B477DB #9EDB77
analogous
#8277DB #B477DB #DB77D0
triadic
#B477DB #DBB477 #77DBB4
tetradic
#B477DB #DB8277 #9EDB77 #77D0DB
square
#B477DB #DB8277 #9EDB77 #77D0DB
split-complementary
#B477DB #D0DB77 #77DB82
monochromatic
#7A2DAA #9947CE #B477DB #CFA7E8 #E9D8F5

Accessibility & contrast

On white

3.18
#B477DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#B477DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B477DB
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B477DB#FFFFFF#000000##000000
##B477DB1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#618DDF
Deuteranopia (green-blind)
#7192D8
Tritanopia (blue-blind)
#B0879F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b477db;
/* rgb */ color: rgb(180, 119, 219);
/* oklch */ color: oklch(67.1% 0.155 311.0);
Tailwind
colors: {
  custom: {
    50: '#cc9fe6',
    500: '#b477db',
    950: '#000000',
  },
}
SCSS
$custom: #b477db;
$custom-light: #cc9fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#b477db",
  "rgb": {
    "r": 180,
    "g": 119,
    "b": 219
  },
  "hsl": {
    "h": 276.6,
    "s": 58.14,
    "l": 66.275
  },
  "oklch": {
    "l": 0.67147,
    "c": 0.15506,
    "h": 311
  },
  "luminance": 0.28011
}

Semantic roles & 50–950 ramp

primary
#B477DB
secondary
#D3E7C7
accent
#C62060
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140F16
muted
#827E84

Preview Lab

Preview with #B477DB

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

Preview Lab → · Contrast checker → · Palette generator →

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