#B778CB#B778CB

#B778CB is a light, vivid purple. Relative luminance 0.278; OKLCH L 66.8% C 0.137 H 317.7°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#B778CB
RGBrgb(183, 120, 203)
HSLhsl(286, 44%, 63%)
HSVhsv(286, 41%, 80%)
CMYKcmyk(9.9%, 40.9%, 0%, 20.4%)
CIE-LABlab(59.72, 38.78, -33.33)
CIE-LCHlch(59.72, 51.14, 319.32°)
OKLaboklab(66.85% 0.101 -0.0918)
OKLCHoklch(66.85% 0.137 317.7)
XYZxyz(37.0229, 27.8131, 59.9065)
Luminance0.2781 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B778CB #8CCB78
analogous
#8D78CB #B778CB #CB78B5
triadic
#B778CB #CBB778 #78CBB7
tetradic
#B778CB #CB8D78 #8CCB78 #78B5CB
square
#B778CB #CB8D78 #8CCB78 #78B5CB
split-complementary
#B778CB #B5CB78 #78CB8D
monochromatic
#7B3891 #9F4CBA #B778CB #CFA4DC #E6D0ED

Accessibility & contrast

On white

3.20
#B778CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#B778CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B778CB
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B778CB#FFFFFF#000000##000000
##B778CB1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8CCE
Deuteranopia (green-blind)
#7B92C9
Tritanopia (blue-blind)
#B78398
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b778cb;
/* rgb */ color: rgb(183, 120, 203);
/* oklch */ color: oklch(66.8% 0.137 317.7);
Tailwind
colors: {
  custom: {
    50: '#cea0db',
    500: '#b778cb',
    950: '#000000',
  },
}
SCSS
$custom: #b778cb;
$custom-light: #cea0db;
$custom-dark: #000000;
JSON
{
  "hex": "#b778cb",
  "rgb": {
    "r": 183,
    "g": 120,
    "b": 203
  },
  "hsl": {
    "h": 285.542,
    "s": 44.385,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66848,
    "c": 0.13651,
    "h": 317.7
  },
  "luminance": 0.27812
}

Semantic roles & 50–950 ramp

primary
#B778CB
secondary
#C8DEC1
accent
#B82E4F
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140F15
muted
#827E83

Preview Lab

Preview with #B778CB

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

Preview Lab → · Contrast checker → · Palette generator →

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