#B181F9#B181F9
#B181F9 is a light, vivid violet. Relative luminance 0.319; OKLCH L 70.1% C 0.174 H 300.4°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #B181F9 |
|---|---|
| RGB | rgb(177, 129, 249) |
| HSL | hsl(264, 91%, 74%) |
| HSV | hsv(264, 48%, 98%) |
| CMYK | cmyk(28.9%, 48.2%, 0%, 2.4%) |
| CIE-LAB | lab(63.25, 42.47, -53.46) |
| CIE-LCH | lch(63.25, 68.27, 308.47°) |
| OKLab | oklab(70.06% 0.0883 -0.1503) |
| OKLCH | oklch(70.06% 0.174 300.4) |
| XYZ | xyz(43.0766, 31.8870, 93.4895) |
| Luminance | 0.3189 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.79
Light Urple
#B36FF6
ΔE00 4.46
Liliac
#C48EFD
ΔE00 4.58
Easter Purple
#C071FE
ΔE00 4.59
Periwinkle (survey)
#8E82FE
ΔE00 7.13
Mediumpurple
#9370DB
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B181F9 #C9F981
analogous
#818DF9 #B181F9 #ED81F9
triadic
#B181F9 #F9B181 #81F9B1
tetradic
#B181F9 #F9818D #C9F981 #81F9ED
square
#B181F9 #F9818D #C9F981 #81F9ED
split-complementary
#B181F9 #F9ED81 #8DF981
monochromatic
#690CF3 #8D47F6 #B181F9 #D5BBFC #EDE2FE
Accessibility & contrast
On white
2.85
#B181F9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.38
#B181F9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B181F9
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B181F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B181F9 | 1.00 | 2.85 | 7.38 | 7.38 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B99FD
Deuteranopia (green-blind)
#6798F6
Tritanopia (blue-blind)
#A397B1
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #b181f9; /* rgb */ color: rgb(177, 129, 249); /* oklch */ color: oklch(70.1% 0.174 300.4);
Tailwind
colors: {
custom: {
50: '#cba6fc',
500: '#b181f9',
950: '#000000',
},
}SCSS
$custom: #b181f9; $custom-light: #cba6fc; $custom-dark: #000000;
JSON
{
"hex": "#b181f9",
"rgb": {
"r": 177,
"g": 129,
"b": 249
},
"hsl": {
"h": 264,
"s": 90.909,
"l": 74.118
},
"oklch": {
"l": 0.70063,
"c": 0.1743,
"h": 300.4
},
"luminance": 0.31887
}Semantic roles & 50–950 ramp
primary
#B181F9
secondary
#E9F6D5
accent
#E6008A
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85