#B778BC#B778BC

#B778BC is a light, vivid purple. Relative luminance 0.271; OKLCH L 66.2% C 0.120 H 324.2°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#B778BC
RGBrgb(183, 120, 188)
HSLhsl(296, 34%, 60%)
HSVhsv(296, 36%, 74%)
CMYKcmyk(2.7%, 36.2%, 0%, 26.3%)
CIE-LABlab(59.10, 35.78, -25.79)
CIE-LCHlch(59.10, 44.11, 324.22°)
OKLaboklab(66.17% 0.0977 -0.0703)
OKLCHoklch(66.17% 0.12 324.2)
XYZxyz(35.3211, 27.1324, 50.9437)
Luminance0.2713 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B778BC #7DBC78
analogous
#9578BC #B778BC #BC789F
triadic
#B778BC #BCB778 #78BCB7
tetradic
#B778BC #BC9578 #7DBC78 #789FBC
square
#B778BC #BC9578 #7DBC78 #789FBC
split-complementary
#B778BC #9FBC78 #78BC95
monochromatic
#773E7C #9F52A5 #B778BC #CDA1D0 #E3CAE5

Accessibility & contrast

On white

3.27
#B778BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#B778BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B778BC
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B778BC#FFFFFF#000000##000000
##B778BC1.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7289BF
Deuteranopia (green-blind)
#8191BA
Tritanopia (blue-blind)
#BA7F91
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b778bc;
/* rgb */ color: rgb(183, 120, 188);
/* oklch */ color: oklch(66.2% 0.120 324.2);
Tailwind
colors: {
  custom: {
    50: '#cea0d0',
    500: '#b778bc',
    950: '#000000',
  },
}
SCSS
$custom: #b778bc;
$custom-light: #cea0d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b778bc",
  "rgb": {
    "r": 183,
    "g": 120,
    "b": 188
  },
  "hsl": {
    "h": 295.588,
    "s": 33.663,
    "l": 60.392
  },
  "oklch": {
    "l": 0.66174,
    "c": 0.12034,
    "h": 324.2
  },
  "luminance": 0.27131
}

Semantic roles & 50–950 ramp

primary
#B778BC
secondary
#BDD5BB
accent
#AC3942
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#140F14
muted
#827E82

Preview Lab

Preview with #B778BC

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

Preview Lab → · Contrast checker → · Palette generator →

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