#B456BF#B456BF
#B456BF is a mid, vivid purple. Relative luminance 0.201; OKLCH L 60.8% C 0.179 H 323.3°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #B456BF |
|---|---|
| RGB | rgb(180, 86, 191) |
| HSL | hsl(294, 45%, 54%) |
| HSV | hsv(294, 55%, 75%) |
| CMYK | cmyk(5.8%, 55%, 0%, 25.1%) |
| CIE-LAB | lab(51.97, 53.21, -38.63) |
| CIE-LCH | lch(51.97, 65.76, 324.02°) |
| OKLab | oklab(60.83% 0.1436 -0.1069) |
| OKLCH | oklch(60.83% 0.179 323.3) |
| XYZ | xyz(31.5532, 20.1220, 51.5020) |
| Luminance | 0.2012 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.33
Pinky Purple
#C94CBE
ΔE00 3.98
Purpley Pink
#C83CB9
ΔE00 5.03
Amethyst
#9B5FC0
ΔE00 5.33
Pinkish Purple
#D648D7
ΔE00 6.11
Soft Purple
#A66FB5
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B456BF #61BF56
analogous
#8056BF #B456BF #BF5696
triadic
#B456BF #BFB456 #56BFB4
tetradic
#B456BF #BF8056 #61BF56 #5696BF
square
#B456BF #BF8056 #61BF56 #5696BF
split-complementary
#B456BF #96BF56 #56BF80
monochromatic
#692A70 #923B9D #B456BF #C882D0 #DBAFE1
Accessibility & contrast
On white
4.18
#B456BF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#B456BF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B456BF
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B456BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B456BF | 1.00 | 4.18 | 5.02 | 5.02 |
| #FFFFFF | 4.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4675C2
Deuteranopia (green-blind)
#6580BC
Tritanopia (blue-blind)
#B76482
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #b456bf; /* rgb */ color: rgb(180, 86, 191); /* oklch */ color: oklch(60.8% 0.179 323.3);
Tailwind
colors: {
custom: {
50: '#cd8ad3',
500: '#b456bf',
950: '#000000',
},
}SCSS
$custom: #b456bf; $custom-light: #cd8ad3; $custom-dark: #000000;
JSON
{
"hex": "#b456bf",
"rgb": {
"r": 180,
"g": 86,
"b": 191
},
"hsl": {
"h": 293.714,
"s": 45.064,
"l": 54.314
},
"oklch": {
"l": 0.60835,
"c": 0.17904,
"h": 323.3
},
"luminance": 0.2012
}Semantic roles & 50–950 ramp
primary
#B456BF
secondary
#A7CFA2
accent
#D55361
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82