#B277FC#B277FC
#B277FC is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.8% C 0.193 H 302.1°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).
Color values
| HEX | #B277FC |
|---|---|
| RGB | rgb(178, 119, 252) |
| HSL | hsl(267, 96%, 73%) |
| HSV | hsv(267, 53%, 99%) |
| CMYK | cmyk(29.4%, 52.8%, 0%, 1.2%) |
| CIE-LAB | lab(61.38, 48.87, -58.07) |
| CIE-LCH | lch(61.38, 75.90, 310.08°) |
| OKLab | oklab(68.75% 0.1025 -0.1637) |
| OKLCH | oklch(68.75% 0.193 302.1) |
| XYZ | xyz(42.5236, 29.6868, 95.5664) |
| Luminance | 0.2969 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.14
Easter Purple
#C071FE
ΔE00 2.76
Light Purple
#BF77F6
ΔE00 2.88
Bright Lavender
#C760FF
ΔE00 5.60
Bright Lilac
#C95EFB
ΔE00 6.18
Liliac
#C48EFD
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B277FC #C1FC77
analogous
#777EFC #B277FC #F577FC
triadic
#B277FC #FCB277 #77FCB2
tetradic
#B277FC #FC777E #C1FC77 #77FCF5
square
#B277FC #FC777E #C1FC77 #77FCF5
split-complementary
#B277FC #FCF577 #7EFC77
monochromatic
#6F05F3 #903BFB #B277FC #D4B3FD #EEE1FE
Accessibility & contrast
On white
3.03
#B277FC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.94
#B277FC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B277FC
6.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B277FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B277FC | 1.00 | 3.03 | 6.94 | 6.94 |
| #FFFFFF | 3.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4793FF
Deuteranopia (green-blind)
#5994F9
Tritanopia (blue-blind)
#A490AE
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #b277fc; /* rgb */ color: rgb(178, 119, 252); /* oklch */ color: oklch(68.8% 0.193 302.1);
Tailwind
colors: {
custom: {
50: '#cca0fe',
500: '#b277fc',
950: '#000000',
},
}SCSS
$custom: #b277fc; $custom-light: #cca0fe; $custom-dark: #000000;
JSON
{
"hex": "#b277fc",
"rgb": {
"r": 178,
"g": 119,
"b": 252
},
"hsl": {
"h": 266.617,
"s": 95.683,
"l": 72.745
},
"oklch": {
"l": 0.68752,
"c": 0.19319,
"h": 302.1
},
"luminance": 0.29687
}Semantic roles & 50–950 ramp
primary
#B277FC
secondary
#E7F7D4
accent
#E60080
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F18
muted
#827E86