#B181FC#B181FC
#B181FC is a light, vivid violet. Relative luminance 0.321; OKLCH L 70.2% C 0.178 H 299.8°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).
Color values
| HEX | #B181FC |
|---|---|
| RGB | rgb(177, 129, 252) |
| HSL | hsl(263, 95%, 75%) |
| HSV | hsv(263, 49%, 99%) |
| CMYK | cmyk(29.8%, 48.8%, 0%, 1.2%) |
| CIE-LAB | lab(63.41, 43.20, -54.86) |
| CIE-LCH | lch(63.41, 69.82, 308.22°) |
| OKLab | oklab(70.23% 0.0886 -0.1544) |
| OKLCH | oklch(70.23% 0.178 299.8) |
| XYZ | xyz(43.5483, 32.0756, 95.9735) |
| Luminance | 0.3208 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.96
Light Urple
#B36FF6
ΔE00 4.52
Easter Purple
#C071FE
ΔE00 4.61
Liliac
#C48EFD
ΔE00 4.69
Periwinkle (survey)
#8E82FE
ΔE00 6.94
Mediumpurple
#9370DB
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B181FC #CCFC81
analogous
#818EFC #B181FC #EF81FC
triadic
#B181FC #FCB181 #81FCB1
tetradic
#B181FC #FC818E #CCFC81 #81FCEF
square
#B181FC #FC818E #CCFC81 #81FCEF
split-complementary
#B181FC #FCEF81 #8EFC81
monochromatic
#6709F9 #8C45FB #B181FC #D6BDFD #ECE1FE
Accessibility & contrast
On white
2.83
#B181FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.42
#B181FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B181FC
7.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B181FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B181FC | 1.00 | 2.83 | 7.42 | 7.42 |
| #FFFFFF | 2.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5899FF
Deuteranopia (green-blind)
#6499F9
Tritanopia (blue-blind)
#A298B3
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #b181fc; /* rgb */ color: rgb(177, 129, 252); /* oklch */ color: oklch(70.2% 0.178 299.8);
Tailwind
colors: {
custom: {
50: '#cba6fe',
500: '#b181fc',
950: '#000000',
},
}SCSS
$custom: #b181fc; $custom-light: #cba6fe; $custom-dark: #000000;
JSON
{
"hex": "#b181fc",
"rgb": {
"r": 177,
"g": 129,
"b": 252
},
"hsl": {
"h": 263.415,
"s": 95.349,
"l": 74.706
},
"oklch": {
"l": 0.7023,
"c": 0.17799,
"h": 299.8
},
"luminance": 0.32076
}Semantic roles & 50–950 ramp
primary
#B181FC
secondary
#E9F7D4
accent
#E6008C
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86