#B150E6#B150E6
#B150E6 is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 62.0% C 0.224 H 311.3°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #B150E6 |
|---|---|
| RGB | rgb(177, 80, 230) |
| HSL | hsl(279, 75%, 61%) |
| HSV | hsv(279, 65%, 90%) |
| CMYK | cmyk(23%, 65.2%, 0%, 9.8%) |
| CIE-LAB | lab(52.73, 63.09, -59.69) |
| CIE-LCH | lch(52.73, 86.86, 316.59°) |
| OKLab | oklab(62% 0.1479 -0.1684) |
| OKLCH | oklch(62% 0.224 311.3) |
| XYZ | xyz(35.2804, 20.7984, 77.0036) |
| Luminance | 0.2080 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.17
Lighter Purple
#A55AF4
ΔE00 3.68
Mediumorchid
#BA55D3
ΔE00 4.04
Neon Purple
#BC13FE
ΔE00 6.12
Hot Purple
#CB00F5
ΔE00 6.14
Bright Lilac
#C95EFB
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B150E6 #85E650
analogous
#6650E6 #B150E6 #E650D0
triadic
#B150E6 #E6B150 #50E6B1
tetradic
#B150E6 #E66650 #85E650 #50D0E6
square
#B150E6 #E66650 #85E650 #50D0E6
split-complementary
#B150E6 #D0E650 #50E666
monochromatic
#7217A4 #981FDA #B150E6 #C986EE #E1BBF5
Accessibility & contrast
On white
4.07
#B150E6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.16
#B150E6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B150E6
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B150E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B150E6 | 1.00 | 4.07 | 5.16 | 5.16 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079EB
Deuteranopia (green-blind)
#3F80E3
Tritanopia (blue-blind)
#AA6E94
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #b150e6; /* rgb */ color: rgb(177, 80, 230); /* oklch */ color: oklch(62.0% 0.224 311.3);
Tailwind
colors: {
custom: {
50: '#cc87ef',
500: '#b150e6',
950: '#000000',
},
}SCSS
$custom: #b150e6; $custom-light: #cc87ef; $custom-dark: #000000;
JSON
{
"hex": "#b150e6",
"rgb": {
"r": 177,
"g": 80,
"b": 230
},
"hsl": {
"h": 278.8,
"s": 75,
"l": 60.784
},
"oklch": {
"l": 0.61999,
"c": 0.22414,
"h": 311.3
},
"luminance": 0.20798
}Semantic roles & 50–950 ramp
primary
#B150E6
secondary
#C1E5AC
accent
#D70E55
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84