#B442CC#B442CC
#B442CC is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.2% C 0.219 H 320.2°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #B442CC |
|---|---|
| RGB | rgb(180, 66, 204) |
| HSL | hsl(290, 58%, 53%) |
| HSV | hsv(290, 68%, 80%) |
| CMYK | cmyk(11.8%, 67.6%, 0%, 20%) |
| CIE-LAB | lab(49.45, 64.52, -50.13) |
| CIE-LCH | lch(49.45, 81.71, 322.16°) |
| OKLab | oklab(59.23% 0.1681 -0.1402) |
| OKLCH | oklch(59.23% 0.219 320.2) |
| XYZ | xyz(31.6684, 17.9609, 58.9137) |
| Luminance | 0.1796 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 4.40
Purpley Pink
#C83CB9
ΔE00 5.59
Purple Pink
#D725DE
ΔE00 5.68
Lightish Purple
#A552E6
ΔE00 5.94
Hot Purple
#CB00F5
ΔE00 6.17
Pinky Purple
#C94CBE
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B442CC #5ACC42
analogous
#6F42CC #B442CC #CC429F
triadic
#B442CC #CCB442 #42CCB4
tetradic
#B442CC #CC6F42 #5ACC42 #429FCC
square
#B442CC #CC6F42 #5ACC42 #429FCC
split-complementary
#B442CC #9FCC42 #42CC6F
monochromatic
#651F74 #902CA4 #B442CC #C772D9 #DAA2E6
Accessibility & contrast
On white
4.57
#B442CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.59
#B442CC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B442CC
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B442CC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B442CC | 1.00 | 4.57 | 4.59 | 4.59 |
| #FFFFFF | 4.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A6ED0
Deuteranopia (green-blind)
#4E7AC9
Tritanopia (blue-blind)
#B55B82
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #b442cc; /* rgb */ color: rgb(180, 66, 204); /* oklch */ color: oklch(59.2% 0.219 320.2);
Tailwind
colors: {
custom: {
50: '#ce7fdc',
500: '#b442cc',
950: '#000000',
},
}SCSS
$custom: #b442cc; $custom-light: #ce7fdc; $custom-dark: #000000;
JSON
{
"hex": "#b442cc",
"rgb": {
"r": 180,
"g": 66,
"b": 204
},
"hsl": {
"h": 289.565,
"s": 57.5,
"l": 52.941
},
"oklch": {
"l": 0.59227,
"c": 0.21889,
"h": 320.2
},
"luminance": 0.17959
}Semantic roles & 50–950 ramp
primary
#B442CC
secondary
#A1D397
accent
#E14762
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83