#B778DD#B778DD

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

Color values

HEX#B778DD
RGBrgb(183, 120, 221)
HSLhsl(277, 60%, 67%)
HSVhsv(277, 46%, 87%)
CMYKcmyk(17.2%, 45.7%, 0%, 13.3%)
CIE-LABlab(60.53, 42.58, -42.18)
CIE-LCHlch(60.53, 59.94, 315.27°)
OKLaboklab(67.73% 0.1042 -0.1173)
OKLCHoklch(67.73% 0.157 311.6)
XYZxyz(39.2938, 28.7214, 71.8664)
Luminance0.2872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B778DD #9EDD78
analogous
#8578DD #B778DD #DD78D0
triadic
#B778DD #DDB778 #78DDB7
tetradic
#B778DD #DD8578 #9EDD78 #78D0DD
square
#B778DD #DD8578 #9EDD78 #78D0DD
split-complementary
#B778DD #D0DD78 #78DD85
monochromatic
#7D2CAF #9D47D1 #B778DD #D1A9E9 #EBDAF6

Accessibility & contrast

On white

3.11
#B778DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#B778DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B778DD
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B778DD#FFFFFF#000000##000000
##B778DD1.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#628FE1
Deuteranopia (green-blind)
#7393DA
Tritanopia (blue-blind)
#B388A0
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b778dd;
/* rgb */ color: rgb(183, 120, 221);
/* oklch */ color: oklch(67.7% 0.157 311.6);
Tailwind
colors: {
  custom: {
    50: '#cea0e8',
    500: '#b778dd',
    950: '#000000',
  },
}
SCSS
$custom: #b778dd;
$custom-light: #cea0e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b778dd",
  "rgb": {
    "r": 183,
    "g": 120,
    "b": 221
  },
  "hsl": {
    "h": 277.426,
    "s": 59.763,
    "l": 66.863
  },
  "oklch": {
    "l": 0.67726,
    "c": 0.15687,
    "h": 311.6
  },
  "luminance": 0.28721
}

Semantic roles & 50–950 ramp

primary
#B778DD
secondary
#D4E9C8
accent
#C71E5E
background
#FCFAFE
surface
#F9F3FC
border
#D2CDD5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B778DD

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

Preview Lab → · Contrast checker → · Palette generator →

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