#B556CA#B556CA
#B556CA is a mid, vivid purple. Relative luminance 0.207; OKLCH L 61.6% C 0.190 H 320.1°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #B556CA |
|---|---|
| RGB | rgb(181, 86, 202) |
| HSL | hsl(289, 52%, 56%) |
| HSV | hsv(289, 57%, 79%) |
| CMYK | cmyk(10.4%, 57.4%, 0%, 20.8%) |
| CIE-LAB | lab(52.67, 55.59, -43.85) |
| CIE-LCH | lch(52.67, 70.80, 321.73°) |
| OKLab | oklab(61.55% 0.1457 -0.122) |
| OKLCH | oklch(61.55% 0.19 320.1) |
| XYZ | xyz(33.0432, 20.7450, 58.1293) |
| Luminance | 0.2074 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 1.52
Pinky Purple
#C94CBE
ΔE00 4.84
Amethyst
#9B5FC0
ΔE00 5.11
Pinkish Purple
#D648D7
ΔE00 5.52
Purpley Pink
#C83CB9
ΔE00 5.96
Lightish Purple
#A552E6
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B556CA #6BCA56
analogous
#7B56CA #B556CA #CA56A5
triadic
#B556CA #CAB556 #56CAB5
tetradic
#B556CA #CA7B56 #6BCA56 #56A5CA
square
#B556CA #CA7B56 #6BCA56 #56A5CA
split-complementary
#B556CA #A5CA56 #56CA7B
monochromatic
#6E287E #9736AD #B556CA #C985D9 #DEB3E7
Accessibility & contrast
On white
4.08
#B556CA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#B556CA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B556CA
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B556CA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B556CA | 1.00 | 4.08 | 5.15 | 5.15 |
| #FFFFFF | 4.08 | 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)
#3D77CE
Deuteranopia (green-blind)
#5F81C7
Tritanopia (blue-blind)
#B66888
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #b556ca; /* rgb */ color: rgb(181, 86, 202); /* oklch */ color: oklch(61.6% 0.190 320.1);
Tailwind
colors: {
custom: {
50: '#ce8ada',
500: '#b556ca',
950: '#000000',
},
}SCSS
$custom: #b556ca; $custom-light: #ce8ada; $custom-dark: #000000;
JSON
{
"hex": "#b556ca",
"rgb": {
"r": 181,
"g": 86,
"b": 202
},
"hsl": {
"h": 289.138,
"s": 52.252,
"l": 56.471
},
"oklch": {
"l": 0.61553,
"c": 0.19004,
"h": 320.1
},
"luminance": 0.20744
}Semantic roles & 50–950 ramp
primary
#B556CA
secondary
#AFD6A6
accent
#DC4C66
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83