#B277E2#B277E2
#B277E2 is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.3% C 0.163 H 308.1°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #B277E2 |
|---|---|
| RGB | rgb(178, 119, 226) |
| HSL | hsl(273, 65%, 68%) |
| HSV | hsv(273, 47%, 89%) |
| CMYK | cmyk(21.2%, 47.3%, 0%, 11.4%) |
| CIE-LAB | lab(60.02, 42.84, -45.81) |
| CIE-LCH | lch(60.02, 62.72, 313.08°) |
| OKLab | oklab(67.3% 0.1002 -0.128) |
| OKLCH | oklch(67.3% 0.163 308.1) |
| XYZ | xyz(38.6817, 28.1501, 75.3325) |
| Luminance | 0.2815 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.35
Light Urple
#B36FF6
ΔE00 3.76
Easter Purple
#C071FE
ΔE00 4.53
Mediumpurple
#9370DB
ΔE00 6.42
Wisteria
#A87DC2
ΔE00 6.47
Bright Lavender
#C760FF
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B277E2 #A7E277
analogous
#7C77E2 #B277E2 #E277DC
triadic
#B277E2 #E2B277 #77E2B2
tetradic
#B277E2 #E27C77 #A7E277 #77DCE2
square
#B277E2 #E27C77 #A7E277 #77DCE2
split-complementary
#B277E2 #DCE277 #77E27C
monochromatic
#7727B7 #9545D7 #B277E2 #CFA9ED #EBDCF8
Accessibility & contrast
On white
3.17
#B277E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.63
#B277E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B277E2
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B277E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B277E2 | 1.00 | 3.17 | 6.63 | 6.63 |
| #FFFFFF | 3.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C8EE6
Deuteranopia (green-blind)
#6C91DF
Tritanopia (blue-blind)
#AB89A2
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #b277e2; /* rgb */ color: rgb(178, 119, 226); /* oklch */ color: oklch(67.3% 0.163 308.1);
Tailwind
colors: {
custom: {
50: '#cb9feb',
500: '#b277e2',
950: '#000000',
},
}SCSS
$custom: #b277e2; $custom-light: #cb9feb; $custom-dark: #000000;
JSON
{
"hex": "#b277e2",
"rgb": {
"r": 178,
"g": 119,
"b": 226
},
"hsl": {
"h": 273.084,
"s": 64.848,
"l": 67.647
},
"oklch": {
"l": 0.67302,
"c": 0.16254,
"h": 308.1
},
"luminance": 0.2815
}Semantic roles & 50–950 ramp
primary
#B277E2
secondary
#D9EBCA
accent
#CD196A
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130F16
muted
#827E84