#B181F7#B181F7
#B181F7 is a light, vivid violet. Relative luminance 0.318; OKLCH L 70.0% C 0.172 H 300.8°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #B181F7 |
|---|---|
| RGB | rgb(177, 129, 247) |
| HSL | hsl(264, 88%, 74%) |
| HSV | hsv(264, 48%, 97%) |
| CMYK | cmyk(28.3%, 47.8%, 0%, 3.1%) |
| CIE-LAB | lab(63.15, 41.99, -52.52) |
| CIE-LCH | lch(63.15, 67.24, 308.64°) |
| OKLab | oklab(69.95% 0.0881 -0.1475) |
| OKLCH | oklch(69.95% 0.172 300.8) |
| XYZ | xyz(42.7664, 31.7629, 91.8554) |
| Luminance | 0.3176 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.71
Light Urple
#B36FF6
ΔE00 4.44
Liliac
#C48EFD
ΔE00 4.53
Easter Purple
#C071FE
ΔE00 4.61
Periwinkle (survey)
#8E82FE
ΔE00 7.27
Mediumpurple
#9370DB
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B181F7 #C7F781
analogous
#818CF7 #B181F7 #EC81F7
triadic
#B181F7 #F7B181 #81F7B1
tetradic
#B181F7 #F7818C #C7F781 #81F7EC
square
#B181F7 #F7818C #C7F781 #81F7EC
split-complementary
#B181F7 #F7EC81 #8CF781
monochromatic
#6A0FEE #8D47F3 #B181F7 #D5BBFB #EDE2FD
Accessibility & contrast
On white
2.86
#B181F7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.35
#B181F7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B181F7
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B181F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B181F7 | 1.00 | 2.86 | 7.35 | 7.35 |
| #FFFFFF | 2.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C98FB
Deuteranopia (green-blind)
#6898F4
Tritanopia (blue-blind)
#A496B0
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #b181f7; /* rgb */ color: rgb(177, 129, 247); /* oklch */ color: oklch(70.0% 0.172 300.8);
Tailwind
colors: {
custom: {
50: '#cba6fa',
500: '#b181f7',
950: '#000000',
},
}SCSS
$custom: #b181f7; $custom-light: #cba6fa; $custom-dark: #000000;
JSON
{
"hex": "#b181f7",
"rgb": {
"r": 177,
"g": 129,
"b": 247
},
"hsl": {
"h": 264.407,
"s": 88.06,
"l": 73.725
},
"oklch": {
"l": 0.69953,
"c": 0.17184,
"h": 300.8
},
"luminance": 0.31763
}Semantic roles & 50–950 ramp
primary
#B181F7
secondary
#E8F5D6
accent
#E50188
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85