#B178FC#B178FC
#B178FC is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.8% C 0.192 H 301.5°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #B178FC |
|---|---|
| RGB | rgb(177, 120, 252) |
| HSL | hsl(266, 96%, 73%) |
| HSV | hsv(266, 52%, 99%) |
| CMYK | cmyk(29.8%, 52.4%, 0%, 1.2%) |
| CIE-LAB | lab(61.49, 48.09, -57.91) |
| CIE-LCH | lch(61.49, 75.27, 309.71°) |
| OKLab | oklab(68.81% 0.1 -0.1633) |
| OKLCH | oklch(68.81% 0.192 301.5) |
| XYZ | xyz(42.4146, 29.8082, 95.5956) |
| Luminance | 0.2981 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.40
Easter Purple
#C071FE
ΔE00 3.04
Light Purple
#BF77F6
ΔE00 3.07
Bright Lavender
#C760FF
ΔE00 5.91
Liliac
#C48EFD
ΔE00 6.33
Bright Lilac
#C95EFB
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B178FC #C3FC78
analogous
#7881FC #B178FC #F378FC
triadic
#B178FC #FCB178 #78FCB1
tetradic
#B178FC #FC7881 #C3FC78 #78FCF3
square
#B178FC #FC7881 #C3FC78 #78FCF3
split-complementary
#B178FC #FCF378 #81FC78
monochromatic
#6D05F4 #8E3CFB #B178FC #D4B4FD #EEE1FE
Accessibility & contrast
On white
3.02
#B178FC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.96
#B178FC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B178FC
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B178FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B178FC | 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)
#4894FF
Deuteranopia (green-blind)
#5A94F9
Tritanopia (blue-blind)
#A291AF
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #b178fc; /* rgb */ color: rgb(177, 120, 252); /* oklch */ color: oklch(68.8% 0.192 301.5);
Tailwind
colors: {
custom: {
50: '#cca0fe',
500: '#b178fc',
950: '#000000',
},
}SCSS
$custom: #b178fc; $custom-light: #cca0fe; $custom-dark: #000000;
JSON
{
"hex": "#b178fc",
"rgb": {
"r": 177,
"g": 120,
"b": 252
},
"hsl": {
"h": 265.909,
"s": 95.652,
"l": 72.941
},
"oklch": {
"l": 0.68806,
"c": 0.19151,
"h": 301.5
},
"luminance": 0.29808
}Semantic roles & 50–950 ramp
primary
#B178FC
secondary
#E8F7D4
accent
#E60082
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F18
muted
#827F86