#B181F6#B181F6
#B181F6 is a light, vivid violet. Relative luminance 0.317; OKLCH L 69.9% C 0.171 H 301.0°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #B181F6 |
|---|---|
| RGB | rgb(177, 129, 246) |
| HSL | hsl(265, 87%, 74%) |
| HSV | hsv(265, 48%, 96%) |
| CMYK | cmyk(28%, 47.6%, 0%, 3.5%) |
| CIE-LAB | lab(63.10, 41.75, -52.05) |
| CIE-LCH | lch(63.10, 66.73, 308.74°) |
| OKLab | oklab(69.9% 0.088 -0.1462) |
| OKLCH | oklch(69.9% 0.171 301) |
| XYZ | xyz(42.6125, 31.7013, 91.0449) |
| Luminance | 0.3170 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.67
Light Urple
#B36FF6
ΔE00 4.44
Liliac
#C48EFD
ΔE00 4.51
Easter Purple
#C071FE
ΔE00 4.62
Periwinkle (survey)
#8E82FE
ΔE00 7.34
Mediumpurple
#9370DB
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B181F6 #C6F681
analogous
#818BF6 #B181F6 #EB81F6
triadic
#B181F6 #F6B181 #81F6B1
tetradic
#B181F6 #F6818B #C6F681 #81F6EB
square
#B181F6 #F6818B #C6F681 #81F6EB
split-complementary
#B181F6 #F6EB81 #8BF681
monochromatic
#6B11EC #8E48F2 #B181F6 #D4BAFA #EDE2FD
Accessibility & contrast
On white
2.86
#B181F6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.34
#B181F6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B181F6
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B181F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B181F6 | 1.00 | 2.86 | 7.34 | 7.34 |
| #FFFFFF | 2.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D98FA
Deuteranopia (green-blind)
#6998F3
Tritanopia (blue-blind)
#A496B0
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #b181f6; /* rgb */ color: rgb(177, 129, 246); /* oklch */ color: oklch(69.9% 0.171 301.0);
Tailwind
colors: {
custom: {
50: '#cba6fa',
500: '#b181f6',
950: '#000000',
},
}SCSS
$custom: #b181f6; $custom-light: #cba6fa; $custom-dark: #000000;
JSON
{
"hex": "#b181f6",
"rgb": {
"r": 177,
"g": 129,
"b": 246
},
"hsl": {
"h": 264.615,
"s": 86.667,
"l": 73.529
},
"oklch": {
"l": 0.69898,
"c": 0.17061,
"h": 301
},
"luminance": 0.31701
}Semantic roles & 50–950 ramp
primary
#B181F6
secondary
#E8F5D6
accent
#E30287
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85