#B150F2#B150F2
#B150F2 is a light, highly saturated violet. Relative luminance 0.215; OKLCH L 62.8% C 0.236 H 308.5°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #B150F2 |
|---|---|
| RGB | rgb(177, 80, 242) |
| HSL | hsl(276, 86%, 63%) |
| HSV | hsv(276, 67%, 95%) |
| CMYK | cmyk(26.9%, 66.9%, 0%, 5.1%) |
| CIE-LAB | lab(53.49, 65.64, -65.20) |
| CIE-LCH | lch(53.49, 92.52, 315.19°) |
| OKLab | oklab(62.79% 0.147 -0.1846) |
| OKLCH | oklch(62.79% 0.236 308.5) |
| XYZ | xyz(37.0239, 21.4958, 86.1859) |
| Luminance | 0.2150 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.45
Lighter Purple
#A55AF4
ΔE00 2.60
Mediumorchid
#BA55D3
ΔE00 5.48
Bright Lilac
#C95EFB
ΔE00 5.72
Bright Lavender
#C760FF
ΔE00 5.79
Neon Purple
#BC13FE
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B150F2 #91F250
analogous
#6050F2 #B150F2 #F250E2
triadic
#B150F2 #F2B150 #50F2B1
tetradic
#B150F2 #F26050 #91F250 #50E2F2
square
#B150F2 #F26050 #91F250 #50E2F2
split-complementary
#B150F2 #E2F250 #50F260
monochromatic
#750EBA #9817EE #B150F2 #CA89F6 #E4C2FA
Accessibility & contrast
On white
3.96
#B150F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.30
#B150F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B150F2
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B150F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B150F2 | 1.00 | 3.96 | 5.30 | 5.30 |
| #FFFFFF | 3.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CF7
Deuteranopia (green-blind)
#2F81EE
Tritanopia (blue-blind)
#A7739B
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #b150f2; /* rgb */ color: rgb(177, 80, 242); /* oklch */ color: oklch(62.8% 0.236 308.5);
Tailwind
colors: {
custom: {
50: '#cd88f7',
500: '#b150f2',
950: '#000000',
},
}SCSS
$custom: #b150f2; $custom-light: #cd88f7; $custom-dark: #000000;
JSON
{
"hex": "#b150f2",
"rgb": {
"r": 177,
"g": 80,
"b": 242
},
"hsl": {
"h": 275.926,
"s": 86.17,
"l": 63.137
},
"oklch": {
"l": 0.62787,
"c": 0.23592,
"h": 308.5
},
"luminance": 0.21495
}Semantic roles & 50–950 ramp
primary
#B150F2
secondary
#C9ECB2
accent
#E3035D
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85