#B778DC#B778DC

#B778DC is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.7% C 0.156 H 311.9°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#B778DC
RGBrgb(183, 120, 220)
HSLhsl(278, 59%, 67%)
HSVhsv(278, 45%, 86%)
CMYKcmyk(16.8%, 45.5%, 0%, 13.7%)
CIE-LABlab(60.49, 42.37, -41.69)
CIE-LCHlch(60.49, 59.44, 315.46°)
OKLaboklab(67.68% 0.104 -0.1159)
OKLCHoklch(67.68% 0.156 311.9)
XYZxyz(39.1609, 28.6683, 71.1668)
Luminance0.2867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B778DC #9DDC78
analogous
#8578DC #B778DC #DC78CF
triadic
#B778DC #DCB778 #78DCB7
tetradic
#B778DC #DC8578 #9DDC78 #78CFDC
square
#B778DC #DC8578 #9DDC78 #78CFDC
split-complementary
#B778DC #CFDC78 #78DC85
monochromatic
#7D2DAD #9D47CF #B778DC #D1A9E9 #EBD9F5

Accessibility & contrast

On white

3.12
#B778DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#B778DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B778DC
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B778DC#FFFFFF#000000##000000
##B778DC1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#628FE0
Deuteranopia (green-blind)
#7393D9
Tritanopia (blue-blind)
#B387A0
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b778dc;
/* rgb */ color: rgb(183, 120, 220);
/* oklch */ color: oklch(67.7% 0.156 311.9);
Tailwind
colors: {
  custom: {
    50: '#cea0e7',
    500: '#b778dc',
    950: '#000000',
  },
}
SCSS
$custom: #b778dc;
$custom-light: #cea0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b778dc",
  "rgb": {
    "r": 183,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 277.8,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.67675,
    "c": 0.15572,
    "h": 311.9
  },
  "luminance": 0.28668
}

Semantic roles & 50–950 ramp

primary
#B778DC
secondary
#D4E8C8
accent
#C61F5D
background
#FCFAFE
surface
#F9F3FC
border
#D2CDD5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B778DC

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

Preview Lab → · Contrast checker → · Palette generator →

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