#B456CF#B456CF
#B456CF is a mid, vivid purple. Relative luminance 0.209; OKLCH L 61.7% C 0.194 H 318.1°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #B456CF |
|---|---|
| RGB | rgb(180, 86, 207) |
| HSL | hsl(287, 56%, 57%) |
| HSV | hsv(287, 58%, 81%) |
| CMYK | cmyk(13%, 58.5%, 0%, 18.8%) |
| CIE-LAB | lab(52.80, 56.32, -46.51) |
| CIE-LCH | lch(52.80, 73.04, 320.45°) |
| OKLab | oklab(61.71% 0.1448 -0.1298) |
| OKLCH | oklch(61.71% 0.194 318.1) |
| XYZ | xyz(33.4111, 20.8652, 61.2868) |
| Luminance | 0.2086 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 1.13
Amethyst
#9B5FC0
ΔE00 5.03
Lightish Purple
#A552E6
ΔE00 5.36
Pinky Purple
#C94CBE
ΔE00 5.61
Pinkish Purple
#D648D7
ΔE00 5.71
Purple Pink
#D725DE
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B456CF #71CF56
analogous
#7856CF #B456CF #CF56AD
triadic
#B456CF #CFB456 #56CFB4
tetradic
#B456CF #CF7856 #71CF56 #56ADCF
square
#B456CF #CF7856 #71CF56 #56ADCF
split-complementary
#B456CF #ADCF56 #56CF78
monochromatic
#702685 #9833B5 #B456CF #C986DD #DEB5EA
Accessibility & contrast
On white
4.06
#B456CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.17
#B456CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B456CF
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B456CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B456CF | 1.00 | 4.06 | 5.17 | 5.17 |
| #FFFFFF | 4.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3878D3
Deuteranopia (green-blind)
#5B81CC
Tritanopia (blue-blind)
#B46A8A
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #b456cf; /* rgb */ color: rgb(180, 86, 207); /* oklch */ color: oklch(61.7% 0.194 318.1);
Tailwind
colors: {
custom: {
50: '#cd8ade',
500: '#b456cf',
950: '#000000',
},
}SCSS
$custom: #b456cf; $custom-light: #cd8ade; $custom-dark: #000000;
JSON
{
"hex": "#b456cf",
"rgb": {
"r": 180,
"g": 86,
"b": 207
},
"hsl": {
"h": 286.612,
"s": 55.76,
"l": 57.451
},
"oklch": {
"l": 0.61708,
"c": 0.19443,
"h": 318.1
},
"luminance": 0.20864
}Semantic roles & 50–950 ramp
primary
#B456CF
secondary
#B3D9A8
accent
#DF496A
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83