#B277F3#B277F3
#B277F3 is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.2% C 0.183 H 303.9°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #B277F3 |
|---|---|
| RGB | rgb(178, 119, 243) |
| HSL | hsl(269, 84%, 71%) |
| HSV | hsv(269, 51%, 95%) |
| CMYK | cmyk(26.7%, 51%, 0%, 4.7%) |
| CIE-LAB | lab(60.90, 46.75, -53.88) |
| CIE-LCH | lch(60.90, 71.33, 310.94°) |
| OKLab | oklab(68.23% 0.1019 -0.1515) |
| OKLCH | oklch(68.23% 0.183 303.9) |
| XYZ | xyz(41.1311, 29.1298, 88.2324) |
| Luminance | 0.2913 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.95
Light Purple
#BF77F6
ΔE00 2.36
Easter Purple
#C071FE
ΔE00 2.85
Bright Lavender
#C760FF
ΔE00 5.60
Bright Lilac
#C95EFB
ΔE00 6.04
Liliac
#C48EFD
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B277F3 #B8F377
analogous
#777AF3 #B277F3 #F077F3
triadic
#B277F3 #F3B277 #77F3B2
tetradic
#B277F3 #F3777A #B8F377 #77F3F0
square
#B277F3 #F3777A #B8F377 #77F3F0
split-complementary
#B277F3 #F3F077 #7AF377
monochromatic
#7313DC #923FEE #B277F3 #D2AFF8 #EFE3FD
Accessibility & contrast
On white
3.08
#B277F3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.83
#B277F3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B277F3
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B277F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B277F3 | 1.00 | 3.08 | 6.83 | 6.83 |
| #FFFFFF | 3.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F91F7
Deuteranopia (green-blind)
#6093F0
Tritanopia (blue-blind)
#A78EAA
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #b277f3; /* rgb */ color: rgb(178, 119, 243); /* oklch */ color: oklch(68.2% 0.183 303.9);
Tailwind
colors: {
custom: {
50: '#cca0f7',
500: '#b277f3',
950: '#000000',
},
}SCSS
$custom: #b277f3; $custom-light: #cca0f7; $custom-dark: #000000;
JSON
{
"hex": "#b277f3",
"rgb": {
"r": 178,
"g": 119,
"b": 243
},
"hsl": {
"h": 268.548,
"s": 83.784,
"l": 70.98
},
"oklch": {
"l": 0.68234,
"c": 0.18259,
"h": 303.9
},
"luminance": 0.2913
}Semantic roles & 50–950 ramp
primary
#B277F3
secondary
#E4F3D2
accent
#E00578
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F17
muted
#827E85