#B477DC#B477DC

#B477DC is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.2% C 0.156 H 310.7°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#B477DC
RGBrgb(180, 119, 220)
HSLhsl(276, 59%, 66%)
HSVhsv(276, 46%, 86%)
CMYKcmyk(18.2%, 45.9%, 0%, 13.7%)
CIE-LABlab(59.95, 42.06, -42.56)
CIE-LCHlch(59.95, 59.84, 314.66°)
OKLaboklab(67.2% 0.1018 -0.1185)
OKLCHoklch(67.2% 0.156 310.7)
XYZxyz(38.3351, 28.0649, 71.0939)
Luminance0.2806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B477DC #9FDC77
analogous
#8277DC #B477DC #DC77D1
triadic
#B477DC #DCB477 #77DCB4
tetradic
#B477DC #DC8277 #9FDC77 #77D1DC
square
#B477DC #DC8277 #9FDC77 #77D1DC
split-complementary
#B477DC #D1DC77 #77DC82
monochromatic
#7A2CAC #9946CF #B477DC #CFA8E9 #EAD8F5

Accessibility & contrast

On white

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

On black

6.61
#B477DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B477DC
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B477DC#FFFFFF#000000##000000
##B477DC1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#608DE0
Deuteranopia (green-blind)
#7092D9
Tritanopia (blue-blind)
#AF879F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b477dc;
/* rgb */ color: rgb(180, 119, 220);
/* oklch */ color: oklch(67.2% 0.156 310.7);
Tailwind
colors: {
  custom: {
    50: '#cc9fe7',
    500: '#b477dc',
    950: '#000000',
  },
}
SCSS
$custom: #b477dc;
$custom-light: #cc9fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#b477dc",
  "rgb": {
    "r": 180,
    "g": 119,
    "b": 220
  },
  "hsl": {
    "h": 276.238,
    "s": 59.064,
    "l": 66.471
  },
  "oklch": {
    "l": 0.67198,
    "c": 0.15622,
    "h": 310.7
  },
  "luminance": 0.28064
}

Semantic roles & 50–950 ramp

primary
#B477DC
secondary
#D4E8C7
accent
#C71F61
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140F16
muted
#827E84

Preview Lab

Preview with #B477DC

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

Preview Lab → · Contrast checker → · Palette generator →

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