#B157F0#B157F0
#B157F0 is a light, highly saturated violet. Relative luminance 0.225; OKLCH L 63.5% C 0.225 H 308.3°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #B157F0 |
|---|---|
| RGB | rgb(177, 87, 240) |
| HSL | hsl(275, 84%, 64%) |
| HSV | hsv(275, 64%, 94%) |
| CMYK | cmyk(26.3%, 63.7%, 0%, 5.9%) |
| CIE-LAB | lab(54.51, 62.04, -62.44) |
| CIE-LCH | lch(54.51, 88.02, 314.82°) |
| OKLab | oklab(63.48% 0.1396 -0.1765) |
| OKLCH | oklch(63.48% 0.225 308.3) |
| XYZ | xyz(37.2646, 22.4553, 84.7924) |
| Luminance | 0.2245 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.31
Lightish Purple
#A552E6
ΔE00 2.97
Bright Lilac
#C95EFB
ΔE00 4.87
Bright Lavender
#C760FF
ΔE00 4.90
Mediumorchid
#BA55D3
ΔE00 5.18
Light Urple
#B36FF6
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B157F0 #96F057
analogous
#6557F0 #B157F0 #F057E3
triadic
#B157F0 #F0B157 #57F0B1
tetradic
#B157F0 #F06557 #96F057 #57E3F0
square
#B157F0 #F06557 #96F057 #57E3F0
split-complementary
#B157F0 #E3F057 #57F065
monochromatic
#7511BC #971FEB #B157F0 #CB8FF5 #E5C7FA
Accessibility & contrast
On white
3.82
#B157F0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.49
#B157F0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B157F0
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B157F0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B157F0 | 1.00 | 3.82 | 5.49 | 5.49 |
| #FFFFFF | 3.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007FF5
Deuteranopia (green-blind)
#3C83ED
Tritanopia (blue-blind)
#A7779C
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #b157f0; /* rgb */ color: rgb(177, 87, 240); /* oklch */ color: oklch(63.5% 0.225 308.3);
Tailwind
colors: {
custom: {
50: '#cd8cf6',
500: '#b157f0',
950: '#000000',
},
}SCSS
$custom: #b157f0; $custom-light: #cd8cf6; $custom-dark: #000000;
JSON
{
"hex": "#b157f0",
"rgb": {
"r": 177,
"g": 87,
"b": 240
},
"hsl": {
"h": 275.294,
"s": 83.607,
"l": 64.118
},
"oklch": {
"l": 0.63478,
"c": 0.225,
"h": 308.3
},
"luminance": 0.22455
}Semantic roles & 50–950 ramp
primary
#B157F0
secondary
#CDECB7
accent
#E0055F
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85