#B456CD#B456CD
#B456CD is a mid, vivid purple. Relative luminance 0.208; OKLCH L 61.6% C 0.192 H 318.7°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #B456CD |
|---|---|
| RGB | rgb(180, 86, 205) |
| HSL | hsl(287, 54%, 57%) |
| HSV | hsv(287, 58%, 80%) |
| CMYK | cmyk(12.2%, 58%, 0%, 19.6%) |
| CIE-LAB | lab(52.69, 55.92, -45.54) |
| CIE-LCH | lch(52.69, 72.12, 320.84°) |
| OKLab | oklab(61.6% 0.1447 -0.1269) |
| OKLCH | oklch(61.6% 0.192 318.7) |
| XYZ | xyz(33.1682, 20.7680, 60.0073) |
| Luminance | 0.2077 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 1.26
Amethyst
#9B5FC0
ΔE00 4.98
Pinky Purple
#C94CBE
ΔE00 5.36
Lightish Purple
#A552E6
ΔE00 5.65
Pinkish Purple
#D648D7
ΔE00 5.69
Purpley Pink
#C83CB9
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B456CD #6FCD56
analogous
#7956CD #B456CD #CD56AB
triadic
#B456CD #CDB456 #56CDB4
tetradic
#B456CD #CD7956 #6FCD56 #56ABCD
square
#B456CD #CD7956 #6FCD56 #56ABCD
split-complementary
#B456CD #ABCD56 #56CD79
monochromatic
#6F2682 #9734B1 #B456CD #C985DB #DEB4E9
Accessibility & contrast
On white
4.07
#B456CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#B456CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B456CD
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B456CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B456CD | 1.00 | 4.07 | 5.15 | 5.15 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A77D1
Deuteranopia (green-blind)
#5D81CA
Tritanopia (blue-blind)
#B46989
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #b456cd; /* rgb */ color: rgb(180, 86, 205); /* oklch */ color: oklch(61.6% 0.192 318.7);
Tailwind
colors: {
custom: {
50: '#cd8add',
500: '#b456cd',
950: '#000000',
},
}SCSS
$custom: #b456cd; $custom-light: #cd8add; $custom-dark: #000000;
JSON
{
"hex": "#b456cd",
"rgb": {
"r": 180,
"g": 86,
"b": 205
},
"hsl": {
"h": 287.395,
"s": 54.338,
"l": 57.059
},
"oklch": {
"l": 0.61595,
"c": 0.19247,
"h": 318.7
},
"luminance": 0.20767
}Semantic roles & 50–950 ramp
primary
#B456CD
secondary
#B1D8A7
accent
#DE4A69
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83