#B741B2#B741B2
#B741B2 is a mid, vivid purple. Relative luminance 0.171; OKLCH L 58.1% C 0.200 H 329.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #B741B2 |
|---|---|
| RGB | rgb(183, 65, 178) |
| HSL | hsl(303, 48%, 49%) |
| HSV | hsv(303, 64%, 72%) |
| CMYK | cmyk(0%, 64.5%, 2.7%, 28.2%) |
| CIE-LAB | lab(48.34, 61.02, -36.77) |
| CIE-LCH | lch(48.34, 71.24, 328.93°) |
| OKLab | oklab(58.06% 0.1721 -0.1013) |
| OKLCH | oklch(58.06% 0.2 329.5) |
| XYZ | xyz(29.4544, 17.0643, 43.8532) |
| Luminance | 0.1706 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.08
Ugly Purple
#A442A0
ΔE00 4.27
Pinky Purple
#C94CBE
ΔE00 5.00
Medium Purple
#9E43A2
ΔE00 5.02
Barney
#AC1DB8
ΔE00 6.47
Purply
#983FB2
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B741B2 #41B746
analogous
#8141B7 #B741B2 #B74177
triadic
#B741B2 #B2B741 #41B2B7
tetradic
#B741B2 #B78141 #41B746 #4177B7
square
#B741B2 #B78141 #41B746 #4177B7
split-complementary
#B741B2 #77B741 #41B781
monochromatic
#5D215A #8A3186 #B741B2 #CA6BC6 #DA98D8
Accessibility & contrast
On white
4.76
#B741B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#B741B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B741B2
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B741B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B741B2 | 1.00 | 4.76 | 4.41 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3669B5
Deuteranopia (green-blind)
#6078AF
Tritanopia (blue-blind)
#BD4F74
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #b741b2; /* rgb */ color: rgb(183, 65, 178); /* oklch */ color: oklch(58.1% 0.200 329.5);
Tailwind
colors: {
custom: {
50: '#d07ec9',
500: '#b741b2',
950: '#000000',
},
}SCSS
$custom: #b741b2; $custom-light: #d07ec9; $custom-dark: #000000;
JSON
{
"hex": "#b741b2",
"rgb": {
"r": 183,
"g": 65,
"b": 178
},
"hsl": {
"h": 302.542,
"s": 47.581,
"l": 48.627
},
"oklch": {
"l": 0.58062,
"c": 0.19969,
"h": 329.5
},
"luminance": 0.17062
}Semantic roles & 50–950 ramp
primary
#B741B2
secondary
#8EC690
accent
#D75651
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82