#B456F7#B456F7
#B456F7 is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 64.2% C 0.234 H 307.9°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #B456F7 |
|---|---|
| RGB | rgb(180, 86, 247) |
| HSL | hsl(275, 91%, 65%) |
| HSV | hsv(275, 65%, 97%) |
| CMYK | cmyk(27.1%, 65.2%, 0%, 3.1%) |
| CIE-LAB | lab(55.15, 64.66, -65.29) |
| CIE-LCH | lch(55.15, 91.89, 314.72°) |
| OKLab | oklab(64.16% 0.1439 -0.1847) |
| OKLCH | oklch(64.16% 0.234 307.9) |
| XYZ | xyz(38.9352, 23.0748, 90.3804) |
| Luminance | 0.2307 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.53
Lightish Purple
#A552E6
ΔE00 3.72
Bright Lavender
#C760FF
ΔE00 4.33
Bright Lilac
#C95EFB
ΔE00 4.39
Light Urple
#B36FF6
ΔE00 5.26
Mediumorchid
#BA55D3
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B456F7 #99F756
analogous
#6356F7 #B456F7 #F756E9
triadic
#B456F7 #F7B456 #56F7B4
tetradic
#B456F7 #F76356 #99F756 #56E9F7
square
#B456F7 #F76356 #99F756 #56E9F7
split-complementary
#B456F7 #E9F756 #56F763
monochromatic
#790AC9 #9A1CF4 #B456F7 #CE90FA #E8CBFD
Accessibility & contrast
On white
3.74
#B456F7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.61
#B456F7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B456F7
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B456F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B456F7 | 1.00 | 3.74 | 5.61 | 5.61 |
| #FFFFFF | 3.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0081FC
Deuteranopia (green-blind)
#3585F3
Tritanopia (blue-blind)
#AA78A0
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #b456f7; /* rgb */ color: rgb(180, 86, 247); /* oklch */ color: oklch(64.2% 0.234 307.9);
Tailwind
colors: {
custom: {
50: '#cf8bfb',
500: '#b456f7',
950: '#000000',
},
}SCSS
$custom: #b456f7; $custom-light: #cf8bfb; $custom-dark: #000000;
JSON
{
"hex": "#b456f7",
"rgb": {
"r": 180,
"g": 86,
"b": 247
},
"hsl": {
"h": 275.031,
"s": 90.96,
"l": 65.294
},
"oklch": {
"l": 0.64161,
"c": 0.2342,
"h": 307.9
},
"luminance": 0.23074
}Semantic roles & 50–950 ramp
primary
#B456F7
secondary
#D0F0B9
accent
#E60060
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85