#B778DB#B778DB

#B778DB is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.6% C 0.155 H 312.2°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#B778DB
RGBrgb(183, 120, 219)
HSLhsl(278, 58%, 66%)
HSVhsv(278, 45%, 86%)
CMYKcmyk(16.4%, 45.2%, 0%, 14.1%)
CIE-LABlab(60.44, 42.15, -41.21)
CIE-LCHlch(60.44, 58.95, 315.65°)
OKLaboklab(67.63% 0.1039 -0.1145)
OKLCHoklch(67.63% 0.155 312.2)
XYZxyz(39.0289, 28.6155, 70.4714)
Luminance0.2862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B778DB #9CDB78
analogous
#8678DB #B778DB #DB78CE
triadic
#B778DB #DBB778 #78DBB7
tetradic
#B778DB #DB8678 #9CDB78 #78CEDB
square
#B778DB #DB8678 #9CDB78 #78CEDB
split-complementary
#B778DB #CEDB78 #78DB86
monochromatic
#7D2EAB #9D48CE #B778DB #D1A8E8 #EBD9F5

Accessibility & contrast

On white

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

On black

6.72
#B778DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B778DB
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B778DB#FFFFFF#000000##000000
##B778DB1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#638EDF
Deuteranopia (green-blind)
#7493D8
Tritanopia (blue-blind)
#B3879F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b778db;
/* rgb */ color: rgb(183, 120, 219);
/* oklch */ color: oklch(67.6% 0.155 312.2);
Tailwind
colors: {
  custom: {
    50: '#cea0e6',
    500: '#b778db',
    950: '#000000',
  },
}
SCSS
$custom: #b778db;
$custom-light: #cea0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b778db",
  "rgb": {
    "r": 183,
    "g": 120,
    "b": 219
  },
  "hsl": {
    "h": 278.182,
    "s": 57.895,
    "l": 66.471
  },
  "oklch": {
    "l": 0.67625,
    "c": 0.15458,
    "h": 312.2
  },
  "luminance": 0.28615
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B778DB

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

Preview Lab → · Contrast checker → · Palette generator →

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