#B440B2#B440B2
#B440B2 is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.5% C 0.199 H 328.5°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #B440B2 |
|---|---|
| RGB | rgb(180, 64, 178) |
| HSL | hsl(301, 48%, 48%) |
| HSV | hsv(301, 64%, 71%) |
| CMYK | cmyk(0%, 64.4%, 1.1%, 29.4%) |
| CIE-LAB | lab(47.73, 60.69, -37.75) |
| CIE-LCH | lch(47.73, 71.47, 328.12°) |
| OKLab | oklab(57.53% 0.17 -0.1042) |
| OKLCH | oklch(57.53% 0.199 328.5) |
| XYZ | xyz(28.6913, 16.5864, 43.8012) |
| Luminance | 0.1658 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.74
Ugly Purple
#A442A0
ΔE00 3.84
Medium Purple
#9E43A2
ΔE00 4.45
Pinky Purple
#C94CBE
ΔE00 5.68
Barney
#AC1DB8
ΔE00 5.83
Purply
#983FB2
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B440B2 #40B442
analogous
#7C40B4 #B440B2 #B44078
triadic
#B440B2 #B2B440 #40B2B4
tetradic
#B440B2 #B47C40 #40B442 #4078B4
square
#B440B2 #B47C40 #40B442 #4078B4
split-complementary
#B440B2 #78B440 #40B47C
monochromatic
#5A2059 #873085 #B440B2 #C968C8 #D995D8
Accessibility & contrast
On white
4.86
#B440B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#B440B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B440B2
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B440B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B440B2 | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3267B5
Deuteranopia (green-blind)
#5D77AF
Tritanopia (blue-blind)
#BA4F73
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #b440b2; /* rgb */ color: rgb(180, 64, 178); /* oklch */ color: oklch(57.5% 0.199 328.5);
Tailwind
colors: {
custom: {
50: '#ce7dc9',
500: '#b440b2',
950: '#000000',
},
}SCSS
$custom: #b440b2; $custom-light: #ce7dc9; $custom-dark: #000000;
JSON
{
"hex": "#b440b2",
"rgb": {
"r": 180,
"g": 64,
"b": 178
},
"hsl": {
"h": 301.034,
"s": 47.541,
"l": 47.843
},
"oklch": {
"l": 0.57531,
"c": 0.19935,
"h": 328.5
},
"luminance": 0.16584
}Semantic roles & 50–950 ramp
primary
#B440B2
secondary
#8BC58C
accent
#D75351
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140A13
muted
#837C82