#B956CD#B956CD
#B956CD is a light, vivid purple. Relative luminance 0.214; OKLCH L 62.2% C 0.195 H 320.6°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #B956CD |
|---|---|
| RGB | rgb(185, 86, 205) |
| HSL | hsl(290, 54%, 57%) |
| HSV | hsv(290, 58%, 80%) |
| CMYK | cmyk(9.8%, 58%, 0%, 19.6%) |
| CIE-LAB | lab(53.36, 57.19, -44.44) |
| CIE-LCH | lch(53.36, 72.42, 322.15°) |
| OKLab | oklab(62.22% 0.1506 -0.1236) |
| OKLCH | oklch(62.22% 0.195 320.6) |
| XYZ | xyz(34.3535, 21.3792, 60.0628) |
| Luminance | 0.2138 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 0.99
Pinky Purple
#C94CBE
ΔE00 4.57
Pinkish Purple
#D648D7
ΔE00 4.80
Amethyst
#9B5FC0
ΔE00 5.79
Purpley Pink
#C83CB9
ΔE00 5.94
Purple Pink
#D725DE
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B956CD #6ACD56
analogous
#7E56CD #B956CD #CD56A6
triadic
#B956CD #CDB956 #56CDB9
tetradic
#B956CD #CD7E56 #6ACD56 #56A6CD
square
#B956CD #CD7E56 #6ACD56 #56A6CD
split-complementary
#B956CD #A6CD56 #56CD7E
monochromatic
#732682 #9C34B1 #B956CD #CD85DB #E0B4E9
Accessibility & contrast
On white
3.98
#B956CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.28
#B956CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B956CD
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B956CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B956CD | 1.00 | 3.98 | 5.28 | 5.28 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D78D1
Deuteranopia (green-blind)
#6183CA
Tritanopia (blue-blind)
#BA688A
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #b956cd; /* rgb */ color: rgb(185, 86, 205); /* oklch */ color: oklch(62.2% 0.195 320.6);
Tailwind
colors: {
custom: {
50: '#d18bdd',
500: '#b956cd',
950: '#000000',
},
}SCSS
$custom: #b956cd; $custom-light: #d18bdd; $custom-dark: #000000;
JSON
{
"hex": "#b956cd",
"rgb": {
"r": 185,
"g": 86,
"b": 205
},
"hsl": {
"h": 289.916,
"s": 54.338,
"l": 57.059
},
"oklch": {
"l": 0.62222,
"c": 0.19483,
"h": 320.6
},
"luminance": 0.21378
}Semantic roles & 50–950 ramp
primary
#B956CD
secondary
#AFD8A7
accent
#DE4A63
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83