#B778CC#B778CC

#B778CC is a light, vivid purple. Relative luminance 0.279; OKLCH L 66.9% C 0.138 H 317.3°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#B778CC
RGBrgb(183, 120, 204)
HSLhsl(285, 45%, 64%)
HSVhsv(285, 41%, 80%)
CMYKcmyk(10.3%, 41.2%, 0%, 20%)
CIE-LABlab(59.76, 38.99, -33.83)
CIE-LCHlch(59.76, 51.62, 319.05°)
OKLaboklab(66.9% 0.1012 -0.0932)
OKLCHoklch(66.9% 0.138 317.3)
XYZxyz(37.1424, 27.8609, 60.5362)
Luminance0.2786 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B778CC #8DCC78
analogous
#8D78CC #B778CC #CC78B7
triadic
#B778CC #CCB778 #78CCB7
tetradic
#B778CC #CC8D78 #8DCC78 #78B7CC
square
#B778CC #CC8D78 #8DCC78 #78B7CC
split-complementary
#B778CC #B7CC78 #78CC8D
monochromatic
#7C3792 #9F4CBB #B778CC #CFA4DD #E6D1EE

Accessibility & contrast

On white

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

On black

6.57
#B778CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B778CC
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B778CC#FFFFFF#000000##000000
##B778CC1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b778cc;
/* rgb */ color: rgb(183, 120, 204);
/* oklch */ color: oklch(66.9% 0.138 317.3);
Tailwind
colors: {
  custom: {
    50: '#cea0dc',
    500: '#b778cc',
    950: '#000000',
  },
}
SCSS
$custom: #b778cc;
$custom-light: #cea0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b778cc",
  "rgb": {
    "r": 183,
    "g": 120,
    "b": 204
  },
  "hsl": {
    "h": 285,
    "s": 45.161,
    "l": 63.529
  },
  "oklch": {
    "l": 0.66895,
    "c": 0.13762,
    "h": 317.3
  },
  "luminance": 0.2786
}

Semantic roles & 50–950 ramp

primary
#B778CC
secondary
#C8DFC1
accent
#B82D50
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140F15
muted
#827E83

Preview Lab

Preview with #B778CC

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

Preview Lab → · Contrast checker → · Palette generator →

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