#B152F3#B152F3
#B152F3 is a light, highly saturated violet. Relative luminance 0.219; OKLCH L 63.1% C 0.234 H 308.1°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #B152F3 |
|---|---|
| RGB | rgb(177, 82, 243) |
| HSL | hsl(275, 87%, 64%) |
| HSV | hsv(275, 66%, 95%) |
| CMYK | cmyk(27.2%, 66.3%, 0%, 4.7%) |
| CIE-LAB | lab(53.87, 64.97, -65.14) |
| CIE-LCH | lch(53.87, 92.01, 314.93°) |
| OKLab | oklab(63.08% 0.1448 -0.1844) |
| OKLCH | oklch(63.08% 0.234 308.1) |
| XYZ | xyz(37.3231, 21.8533, 87.0286) |
| Luminance | 0.2185 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.36
Lightish Purple
#A552E6
ΔE00 2.65
Bright Lilac
#C95EFB
ΔE00 5.43
Bright Lavender
#C760FF
ΔE00 5.47
Mediumorchid
#BA55D3
ΔE00 5.57
Neon Purple
#BC13FE
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B152F3 #94F352
analogous
#6052F3 #B152F3 #F352E4
triadic
#B152F3 #F3B152 #52F3B1
tetradic
#B152F3 #F36052 #94F352 #52E4F3
square
#B152F3 #F36052 #94F352 #52E4F3
split-complementary
#B152F3 #E4F352 #52F360
monochromatic
#750DBD #9719EF #B152F3 #CB8BF7 #E5C4FB
Accessibility & contrast
On white
3.91
#B152F3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.37
#B152F3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B152F3
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B152F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B152F3 | 1.00 | 3.91 | 5.37 | 5.37 |
| #FFFFFF | 3.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007DF8
Deuteranopia (green-blind)
#3082EF
Tritanopia (blue-blind)
#A7759C
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #b152f3; /* rgb */ color: rgb(177, 82, 243); /* oklch */ color: oklch(63.1% 0.234 308.1);
Tailwind
colors: {
custom: {
50: '#cd89f8',
500: '#b152f3',
950: '#000000',
},
}SCSS
$custom: #b152f3; $custom-light: #cd89f8; $custom-dark: #000000;
JSON
{
"hex": "#b152f3",
"rgb": {
"r": 177,
"g": 82,
"b": 243
},
"hsl": {
"h": 275.404,
"s": 87.027,
"l": 63.725
},
"oklch": {
"l": 0.63082,
"c": 0.23443,
"h": 308.1
},
"luminance": 0.21853
}Semantic roles & 50–950 ramp
primary
#B152F3
secondary
#CBEDB4
accent
#E4025E
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85