#B181F5#B181F5
#B181F5 is a light, vivid violet. Relative luminance 0.316; OKLCH L 69.8% C 0.169 H 301.2°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #B181F5 |
|---|---|
| RGB | rgb(177, 129, 245) |
| HSL | hsl(265, 85%, 73%) |
| HSV | hsv(265, 47%, 96%) |
| CMYK | cmyk(27.8%, 47.3%, 0%, 3.9%) |
| CIE-LAB | lab(63.04, 41.51, -51.58) |
| CIE-LCH | lch(63.04, 66.21, 308.83°) |
| OKLab | oklab(69.84% 0.0879 -0.1448) |
| OKLCH | oklch(69.84% 0.169 301.2) |
| XYZ | xyz(42.4594, 31.6401, 90.2387) |
| Luminance | 0.3164 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.65
Light Urple
#B36FF6
ΔE00 4.45
Liliac
#C48EFD
ΔE00 4.50
Easter Purple
#C071FE
ΔE00 4.65
Periwinkle (survey)
#8E82FE
ΔE00 7.42
Mediumpurple
#9370DB
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B181F5 #C5F581
analogous
#818BF5 #B181F5 #EB81F5
triadic
#B181F5 #F5B181 #81F5B1
tetradic
#B181F5 #F5818B #C5F581 #81F5EB
square
#B181F5 #F5818B #C5F581 #81F5EB
split-complementary
#B181F5 #F5EB81 #8BF581
monochromatic
#6B13E9 #8E48F0 #B181F5 #D4BAF9 #EDE3FD
Accessibility & contrast
On white
2.87
#B181F5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.33
#B181F5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B181F5
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B181F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B181F5 | 1.00 | 2.87 | 7.33 | 7.33 |
| #FFFFFF | 2.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E98F9
Deuteranopia (green-blind)
#6998F2
Tritanopia (blue-blind)
#A496AF
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #b181f5; /* rgb */ color: rgb(177, 129, 245); /* oklch */ color: oklch(69.8% 0.169 301.2);
Tailwind
colors: {
custom: {
50: '#cba6f9',
500: '#b181f5',
950: '#000000',
},
}SCSS
$custom: #b181f5; $custom-light: #cba6f9; $custom-dark: #000000;
JSON
{
"hex": "#b181f5",
"rgb": {
"r": 177,
"g": 129,
"b": 245
},
"hsl": {
"h": 264.828,
"s": 85.294,
"l": 73.333
},
"oklch": {
"l": 0.69843,
"c": 0.16938,
"h": 301.2
},
"luminance": 0.3164
}Semantic roles & 50–950 ramp
primary
#B181F5
secondary
#E8F5D6
accent
#E20486
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85