#B277F9#B277F9
#B277F9 is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.6% C 0.190 H 302.7°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #B277F9 |
|---|---|
| RGB | rgb(178, 119, 249) |
| HSL | hsl(267, 92%, 72%) |
| HSV | hsv(267, 52%, 98%) |
| CMYK | cmyk(28.5%, 52.2%, 0%, 2.4%) |
| CIE-LAB | lab(61.22, 48.16, -56.68) |
| CIE-LCH | lch(61.22, 74.37, 310.35°) |
| OKLab | oklab(68.58% 0.1023 -0.1597) |
| OKLCH | oklch(68.58% 0.19 302.7) |
| XYZ | xyz(42.0520, 29.4982, 93.0825) |
| Luminance | 0.2950 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.97
Light Purple
#BF77F6
ΔE00 2.65
Easter Purple
#C071FE
ΔE00 2.72
Bright Lavender
#C760FF
ΔE00 5.57
Bright Lilac
#C95EFB
ΔE00 6.10
Liliac
#C48EFD
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B277F9 #BEF977
analogous
#777DF9 #B277F9 #F377F9
triadic
#B277F9 #F9B277 #77F9B2
tetradic
#B277F9 #F9777D #BEF977 #77F9F3
square
#B277F9 #F9777D #BEF977 #77F9F3
split-complementary
#B277F9 #F9F377 #7DF977
monochromatic
#700AEB #913CF6 #B277F9 #D3B2FC #EEE2FE
Accessibility & contrast
On white
3.04
#B277F9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.90
#B277F9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B277F9
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B277F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B277F9 | 1.00 | 3.04 | 6.90 | 6.90 |
| #FFFFFF | 3.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A93FD
Deuteranopia (green-blind)
#5C93F6
Tritanopia (blue-blind)
#A58FAD
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #b277f9; /* rgb */ color: rgb(178, 119, 249); /* oklch */ color: oklch(68.6% 0.190 302.7);
Tailwind
colors: {
custom: {
50: '#cca0fc',
500: '#b277f9',
950: '#000000',
},
}SCSS
$custom: #b277f9; $custom-light: #cca0fc; $custom-dark: #000000;
JSON
{
"hex": "#b277f9",
"rgb": {
"r": 178,
"g": 119,
"b": 249
},
"hsl": {
"h": 267.231,
"s": 91.549,
"l": 72.157
},
"oklch": {
"l": 0.68577,
"c": 0.18965,
"h": 302.7
},
"luminance": 0.29498
}Semantic roles & 50–950 ramp
primary
#B277F9
secondary
#E7F6D5
accent
#E6007D
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F17
muted
#827E85