#B456F1#B456F1
#B456F1 is a light, highly saturated violet. Relative luminance 0.227; OKLCH L 63.8% C 0.228 H 309.2°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #B456F1 |
|---|---|
| RGB | rgb(180, 86, 241) |
| HSL | hsl(276, 85%, 64%) |
| HSV | hsv(276, 64%, 95%) |
| CMYK | cmyk(25.3%, 64.3%, 0%, 5.5%) |
| CIE-LAB | lab(54.77, 63.37, -62.55) |
| CIE-LCH | lch(54.77, 89.04, 315.37°) |
| OKLab | oklab(63.77% 0.1444 -0.1767) |
| OKLCH | oklch(63.77% 0.228 309.2) |
| XYZ | xyz(38.0242, 22.7104, 85.5825) |
| Luminance | 0.2271 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.76
Lightish Purple
#A552E6
ΔE00 3.34
Bright Lilac
#C95EFB
ΔE00 4.48
Bright Lavender
#C760FF
ΔE00 4.55
Mediumorchid
#BA55D3
ΔE00 5.03
Light Urple
#B36FF6
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B456F1 #93F156
analogous
#6756F1 #B456F1 #F156E1
triadic
#B456F1 #F1B456 #56F1B4
tetradic
#B456F1 #F16756 #93F156 #56E1F1
square
#B456F1 #F16756 #93F156 #56E1F1
split-complementary
#B456F1 #E1F156 #56F167
monochromatic
#7910BD #9B1DEC #B456F1 #CD8FF6 #E6C7FA
Accessibility & contrast
On white
3.79
#B456F1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.54
#B456F1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B456F1
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B456F1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B456F1 | 1.00 | 3.79 | 5.54 | 5.54 |
| #FFFFFF | 3.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007FF6
Deuteranopia (green-blind)
#3D84ED
Tritanopia (blue-blind)
#AB769C
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #b456f1; /* rgb */ color: rgb(180, 86, 241); /* oklch */ color: oklch(63.8% 0.228 309.2);
Tailwind
colors: {
custom: {
50: '#cf8bf6',
500: '#b456f1',
950: '#000000',
},
}SCSS
$custom: #b456f1; $custom-light: #cf8bf6; $custom-dark: #000000;
JSON
{
"hex": "#b456f1",
"rgb": {
"r": 180,
"g": 86,
"b": 241
},
"hsl": {
"h": 276.387,
"s": 84.699,
"l": 64.118
},
"oklch": {
"l": 0.6377,
"c": 0.22819,
"h": 309.2
},
"luminance": 0.2271
}Semantic roles & 50–950 ramp
primary
#B456F1
secondary
#CCECB6
accent
#E1045B
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85