#B181F3#B181F3
#B181F3 is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.7% C 0.167 H 301.7°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #B181F3 |
|---|---|
| RGB | rgb(177, 129, 243) |
| HSL | hsl(265, 83%, 73%) |
| HSV | hsv(265, 47%, 95%) |
| CMYK | cmyk(27.2%, 46.9%, 0%, 4.7%) |
| CIE-LAB | lab(62.94, 41.04, -50.64) |
| CIE-LCH | lch(62.94, 65.18, 309.02°) |
| OKLab | oklab(69.74% 0.0876 -0.1421) |
| OKLCH | oklch(69.74% 0.167 301.7) |
| XYZ | xyz(42.1557, 31.5186, 88.6394) |
| Luminance | 0.3152 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.61
Liliac
#C48EFD
ΔE00 4.48
Light Urple
#B36FF6
ΔE00 4.48
Easter Purple
#C071FE
ΔE00 4.70
Mediumpurple
#9370DB
ΔE00 7.36
Periwinkle (survey)
#8E82FE
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B181F3 #C3F381
analogous
#818AF3 #B181F3 #EA81F3
triadic
#B181F3 #F3B181 #81F3B1
tetradic
#B181F3 #F3818A #C3F381 #81F3EA
square
#B181F3 #F3818A #C3F381 #81F3EA
split-complementary
#B181F3 #F3EA81 #8AF381
monochromatic
#6D16E4 #8E49EE #B181F3 #D4B9F8 #EEE3FC
Accessibility & contrast
On white
2.88
#B181F3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.30
#B181F3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B181F3
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B181F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B181F3 | 1.00 | 2.88 | 7.30 | 7.30 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F98F7
Deuteranopia (green-blind)
#6B98F0
Tritanopia (blue-blind)
#A595AF
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #b181f3; /* rgb */ color: rgb(177, 129, 243); /* oklch */ color: oklch(69.7% 0.167 301.7);
Tailwind
colors: {
custom: {
50: '#cba6f7',
500: '#b181f3',
950: '#000000',
},
}SCSS
$custom: #b181f3; $custom-light: #cba6f7; $custom-dark: #000000;
JSON
{
"hex": "#b181f3",
"rgb": {
"r": 177,
"g": 129,
"b": 243
},
"hsl": {
"h": 265.263,
"s": 82.609,
"l": 72.941
},
"oklch": {
"l": 0.69735,
"c": 0.16692,
"h": 301.7
},
"luminance": 0.31519
}Semantic roles & 50–950 ramp
primary
#B181F3
secondary
#E8F4D7
accent
#DF0684
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85