#B456E7#B456E7
#B456E7 is a light, highly saturated violet. Relative luminance 0.221; OKLCH L 63.1% C 0.218 H 311.6°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #B456E7 |
|---|---|
| RGB | rgb(180, 86, 231) |
| HSL | hsl(279, 75%, 62%) |
| HSV | hsv(279, 63%, 91%) |
| CMYK | cmyk(22.1%, 62.8%, 0%, 9.4%) |
| CIE-LAB | lab(54.16, 61.24, -57.93) |
| CIE-LCH | lch(54.16, 84.29, 316.59°) |
| OKLab | oklab(63.14% 0.1449 -0.1631) |
| OKLCH | oklch(63.14% 0.218 311.6) |
| XYZ | xyz(36.5713, 22.1293, 77.9307) |
| Luminance | 0.2213 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.17
Lighter Purple
#A55AF4
ΔE00 3.63
Mediumorchid
#BA55D3
ΔE00 3.65
Bright Lilac
#C95EFB
ΔE00 4.94
Bright Lavender
#C760FF
ΔE00 5.21
Light Urple
#B36FF6
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B456E7 #89E756
analogous
#6C56E7 #B456E7 #E756D1
triadic
#B456E7 #E7B456 #56E7B4
tetradic
#B456E7 #E76C56 #89E756 #56D1E7
square
#B456E7 #E76C56 #89E756 #56D1E7
split-complementary
#B456E7 #D1E756 #56E76C
monochromatic
#7718AA #9C20DF #B456E7 #CC8CEF #E4C1F6
Accessibility & contrast
On white
3.87
#B456E7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.43
#B456E7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B456E7
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B456E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B456E7 | 1.00 | 3.87 | 5.43 | 5.43 |
| #FFFFFF | 3.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C7DEB
Deuteranopia (green-blind)
#4883E4
Tritanopia (blue-blind)
#AE7297
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #b456e7; /* rgb */ color: rgb(180, 86, 231); /* oklch */ color: oklch(63.1% 0.218 311.6);
Tailwind
colors: {
custom: {
50: '#ce8bef',
500: '#b456e7',
950: '#000000',
},
}SCSS
$custom: #b456e7; $custom-light: #ce8bef; $custom-dark: #000000;
JSON
{
"hex": "#b456e7",
"rgb": {
"r": 180,
"g": 86,
"b": 231
},
"hsl": {
"h": 278.897,
"s": 75.13,
"l": 62.157
},
"oklch": {
"l": 0.63136,
"c": 0.21818,
"h": 311.6
},
"luminance": 0.22128
}Semantic roles & 50–950 ramp
primary
#B456E7
secondary
#C5E7B2
accent
#D70E55
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84