#B179F9#B179F9
#B179F9 is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.8% C 0.186 H 301.9°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #B179F9 |
|---|---|
| RGB | rgb(177, 121, 249) |
| HSL | hsl(266, 91%, 73%) |
| HSV | hsv(266, 51%, 98%) |
| CMYK | cmyk(28.9%, 51.4%, 0%, 2.4%) |
| CIE-LAB | lab(61.53, 46.83, -56.18) |
| CIE-LCH | lch(61.53, 73.14, 309.81°) |
| OKLab | oklab(68.79% 0.0986 -0.1582) |
| OKLCH | oklch(68.79% 0.186 301.9) |
| XYZ | xyz(42.0638, 29.8613, 93.1519) |
| Luminance | 0.2986 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.48
Light Purple
#BF77F6
ΔE00 2.87
Easter Purple
#C071FE
ΔE00 3.13
Liliac
#C48EFD
ΔE00 6.06
Bright Lavender
#C760FF
ΔE00 6.07
Bright Lilac
#C95EFB
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B179F9 #C1F979
analogous
#7981F9 #B179F9 #F179F9
triadic
#B179F9 #F9B179 #79F9B1
tetradic
#B179F9 #F97981 #C1F979 #79F9F1
square
#B179F9 #F97981 #C1F979 #79F9F1
split-complementary
#B179F9 #F9F179 #81F979
monochromatic
#6E0BED #8F3EF6 #B179F9 #D3B4FC #EEE2FE
Accessibility & contrast
On white
3.01
#B179F9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.97
#B179F9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B179F9
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B179F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B179F9 | 1.00 | 3.01 | 6.97 | 6.97 |
| #FFFFFF | 3.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D94FD
Deuteranopia (green-blind)
#5D94F6
Tritanopia (blue-blind)
#A391AE
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #b179f9; /* rgb */ color: rgb(177, 121, 249); /* oklch */ color: oklch(68.8% 0.186 301.9);
Tailwind
colors: {
custom: {
50: '#cba1fc',
500: '#b179f9',
950: '#000000',
},
}SCSS
$custom: #b179f9; $custom-light: #cba1fc; $custom-dark: #000000;
JSON
{
"hex": "#b179f9",
"rgb": {
"r": 177,
"g": 121,
"b": 249
},
"hsl": {
"h": 266.25,
"s": 91.429,
"l": 72.549
},
"oklch": {
"l": 0.68787,
"c": 0.18644,
"h": 301.9
},
"luminance": 0.29861
}Semantic roles & 50–950 ramp
primary
#B179F9
secondary
#E8F6D5
accent
#E60081
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F17
muted
#827F85