#B179F8#B179F8
#B179F8 is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.7% C 0.185 H 302.1°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #B179F8 |
|---|---|
| RGB | rgb(177, 121, 248) |
| HSL | hsl(266, 90%, 72%) |
| HSV | hsv(266, 51%, 97%) |
| CMYK | cmyk(28.6%, 51.2%, 0%, 2.7%) |
| CIE-LAB | lab(61.48, 46.59, -55.72) |
| CIE-LCH | lch(61.48, 72.63, 309.90°) |
| OKLab | oklab(68.73% 0.0985 -0.1569) |
| OKLCH | oklch(68.73% 0.185 302.1) |
| XYZ | xyz(41.9083, 29.7991, 92.3327) |
| Luminance | 0.2980 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.45
Light Purple
#BF77F6
ΔE00 2.81
Easter Purple
#C071FE
ΔE00 3.13
Liliac
#C48EFD
ΔE00 6.04
Bright Lavender
#C760FF
ΔE00 6.07
Bright Lilac
#C95EFB
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B179F8 #C0F879
analogous
#7980F8 #B179F8 #F179F8
triadic
#B179F8 #F8B179 #79F8B1
tetradic
#B179F8 #F87980 #C0F879 #79F8F1
square
#B179F8 #F87980 #C0F879 #79F8F1
split-complementary
#B179F8 #F8F179 #80F879
monochromatic
#6E0CEA #8F3FF5 #B179F8 #D3B3FB #EEE2FD
Accessibility & contrast
On white
3.02
#B179F8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.96
#B179F8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B179F8
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B179F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B179F8 | 1.00 | 3.02 | 6.96 | 6.96 |
| #FFFFFF | 3.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E93FC
Deuteranopia (green-blind)
#5E94F5
Tritanopia (blue-blind)
#A491AD
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #b179f8; /* rgb */ color: rgb(177, 121, 248); /* oklch */ color: oklch(68.7% 0.185 302.1);
Tailwind
colors: {
custom: {
50: '#cba1fb',
500: '#b179f8',
950: '#000000',
},
}SCSS
$custom: #b179f8; $custom-light: #cba1fb; $custom-dark: #000000;
JSON
{
"hex": "#b179f8",
"rgb": {
"r": 177,
"g": 121,
"b": 248
},
"hsl": {
"h": 266.457,
"s": 90.071,
"l": 72.353
},
"oklch": {
"l": 0.6873,
"c": 0.18525,
"h": 302.1
},
"luminance": 0.29799
}Semantic roles & 50–950 ramp
primary
#B179F8
secondary
#E7F6D5
accent
#E60080
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F17
muted
#827F85