#B179F7#B179F7
#B179F7 is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.7% C 0.184 H 302.3°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).
Color values
| HEX | #B179F7 |
|---|---|
| RGB | rgb(177, 121, 247) |
| HSL | hsl(267, 89%, 72%) |
| HSV | hsv(267, 51%, 97%) |
| CMYK | cmyk(28.3%, 51%, 0%, 3.1%) |
| CIE-LAB | lab(61.43, 46.36, -55.25) |
| CIE-LCH | lch(61.43, 72.12, 310.00°) |
| OKLab | oklab(68.67% 0.0984 -0.1555) |
| OKLCH | oklch(68.67% 0.184 302.3) |
| XYZ | xyz(41.7535, 29.7372, 91.5178) |
| Luminance | 0.2974 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.43
Light Purple
#BF77F6
ΔE00 2.75
Easter Purple
#C071FE
ΔE00 3.13
Liliac
#C48EFD
ΔE00 6.03
Bright Lavender
#C760FF
ΔE00 6.07
Bright Lilac
#C95EFB
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B179F7 #BFF779
analogous
#7980F7 #B179F7 #F079F7
triadic
#B179F7 #F7B179 #79F7B1
tetradic
#B179F7 #F77980 #BFF779 #79F7F0
square
#B179F7 #F77980 #BFF779 #79F7F0
split-complementary
#B179F7 #F7F079 #80F779
monochromatic
#6F0EE8 #8F3FF4 #B179F7 #D3B3FA #EEE2FD
Accessibility & contrast
On white
3.02
#B179F7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.95
#B179F7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B179F7
6.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B179F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B179F7 | 1.00 | 3.02 | 6.95 | 6.95 |
| #FFFFFF | 3.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F93FB
Deuteranopia (green-blind)
#5F94F4
Tritanopia (blue-blind)
#A490AD
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #b179f7; /* rgb */ color: rgb(177, 121, 247); /* oklch */ color: oklch(68.7% 0.184 302.3);
Tailwind
colors: {
custom: {
50: '#cba1fa',
500: '#b179f7',
950: '#000000',
},
}SCSS
$custom: #b179f7; $custom-light: #cba1fa; $custom-dark: #000000;
JSON
{
"hex": "#b179f7",
"rgb": {
"r": 177,
"g": 121,
"b": 247
},
"hsl": {
"h": 266.667,
"s": 88.732,
"l": 72.157
},
"oklch": {
"l": 0.68673,
"c": 0.18407,
"h": 302.3
},
"luminance": 0.29737
}Semantic roles & 50–950 ramp
primary
#B179F7
secondary
#E7F5D6
accent
#E5007F
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F17
muted
#827F85