#B277BD#B277BD
#B277BD is a light, vivid purple. Relative luminance 0.263; OKLCH L 65.5% C 0.120 H 321.1°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #B277BD |
|---|---|
| RGB | rgb(178, 119, 189) |
| HSL | hsl(291, 35%, 60%) |
| HSV | hsv(291, 37%, 74%) |
| CMYK | cmyk(5.8%, 37%, 0%, 25.9%) |
| CIE-LAB | lab(58.35, 34.94, -27.55) |
| CIE-LCH | lch(58.35, 44.50, 321.74°) |
| OKLab | oklab(65.5% 0.0935 -0.0754) |
| OKLCH | oklch(65.5% 0.12 321.1) |
| XYZ | xyz(34.1411, 26.3338, 51.4187) |
| Luminance | 0.2633 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Soft Purple
#A66FB5
ΔE00 3.30
Wisteria
#A87DC2
ΔE00 3.35
Orchid (survey)
#C875C4
ΔE00 4.30
Dark Lilac
#9C6DA5
ΔE00 6.07
Deep Lilac
#966EBD
ΔE00 7.11
Heather
#A484AC
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B277BD #82BD77
analogous
#8F77BD #B277BD #BD77A5
triadic
#B277BD #BDB277 #77BDB2
tetradic
#B277BD #BD8F77 #82BD77 #77A5BD
square
#B277BD #BD8F77 #82BD77 #77A5BD
split-complementary
#B277BD #A5BD77 #77BD8F
monochromatic
#733D7D #9951A6 #B277BD #C9A0D1 #E1C9E5
Accessibility & contrast
On white
3.35
#B277BD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.27
#B277BD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B277BD
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B277BD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B277BD | 1.00 | 3.35 | 6.27 | 6.27 |
| #FFFFFF | 3.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F88C0
Deuteranopia (green-blind)
#7D8FBB
Tritanopia (blue-blind)
#B47F91
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #b277bd; /* rgb */ color: rgb(178, 119, 189); /* oklch */ color: oklch(65.5% 0.120 321.1);
Tailwind
colors: {
custom: {
50: '#ca9fd1',
500: '#b277bd',
950: '#000000',
},
}SCSS
$custom: #b277bd; $custom-light: #ca9fd1; $custom-dark: #000000;
JSON
{
"hex": "#b277bd",
"rgb": {
"r": 178,
"g": 119,
"b": 189
},
"hsl": {
"h": 290.571,
"s": 34.653,
"l": 60.392
},
"oklch": {
"l": 0.65501,
"c": 0.12012,
"h": 321.1
},
"luminance": 0.26333
}Semantic roles & 50–950 ramp
primary
#B277BD
secondary
#BFD5BB
accent
#AD384A
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82