#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 |
|---|---|
| RGB | rgb(183, 120, 204) |
| HSL | hsl(285, 45%, 64%) |
| HSV | hsv(285, 41%, 80%) |
| CMYK | cmyk(10.3%, 41.2%, 0%, 20%) |
| CIE-LAB | lab(59.76, 38.99, -33.83) |
| CIE-LCH | lch(59.76, 51.62, 319.05°) |
| OKLab | oklab(66.9% 0.1012 -0.0932) |
| OKLCH | oklch(66.9% 0.138 317.3) |
| XYZ | xyz(37.1424, 27.8609, 60.5362) |
| Luminance | 0.2786 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Wisteria
#A87DC2
ΔE00 3.77
Orchid (survey)
#C875C4
ΔE00 4.46
Soft Purple
#A66FB5
ΔE00 5.06
Orchid
#DA70D6
ΔE00 6.45
Pale Purple
#B790D4
ΔE00 6.76
Light Purple
#BF77F6
ΔE00 7.07
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 |
|---|---|---|---|---|
| ##B778CC | 1.00 | 3.20 | 6.57 | 6.57 |
| #FFFFFF | 3.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.57 | 21.00 | 1.00 | 1.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