#B341B3#B341B3
#B341B3 is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.5% C 0.198 H 327.8°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #B341B3 |
|---|---|
| RGB | rgb(179, 65, 179) |
| HSL | hsl(300, 47%, 48%) |
| HSV | hsv(300, 64%, 70%) |
| CMYK | cmyk(0%, 63.7%, 0%, 29.8%) |
| CIE-LAB | lab(47.78, 60.21, -38.28) |
| CIE-LCH | lch(47.78, 71.35, 327.55°) |
| OKLab | oklab(57.55% 0.1678 -0.1057) |
| OKLCH | oklch(57.55% 0.198 327.8) |
| XYZ | xyz(28.6170, 16.6209, 44.3400) |
| Luminance | 0.1662 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.88
Ugly Purple
#A442A0
ΔE00 3.89
Medium Purple
#9E43A2
ΔE00 4.41
Pinky Purple
#C94CBE
ΔE00 5.71
Purply
#983FB2
ΔE00 5.77
Barney
#AC1DB8
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B341B3 #41B341
analogous
#7A41B3 #B341B3 #B3417A
triadic
#B341B3 #B3B341 #41B3B3
tetradic
#B341B3 #B37A41 #41B341 #417AB3
square
#B341B3 #B37A41 #41B341 #417AB3
split-complementary
#B341B3 #7AB341 #41B37A
monochromatic
#592059 #863186 #B341B3 #C869C8 #D996D9
Accessibility & contrast
On white
4.86
#B341B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#B341B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B341B3
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B341B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B341B3 | 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)
#3268B6
Deuteranopia (green-blind)
#5D77B0
Tritanopia (blue-blind)
#B85074
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #b341b3; /* rgb */ color: rgb(179, 65, 179); /* oklch */ color: oklch(57.5% 0.198 327.8);
Tailwind
colors: {
custom: {
50: '#cd7eca',
500: '#b341b3',
950: '#000000',
},
}SCSS
$custom: #b341b3; $custom-light: #cd7eca; $custom-dark: #000000;
JSON
{
"hex": "#b341b3",
"rgb": {
"r": 179,
"g": 65,
"b": 179
},
"hsl": {
"h": 300,
"s": 46.721,
"l": 47.843
},
"oklch": {
"l": 0.57549,
"c": 0.19831,
"h": 327.8
},
"luminance": 0.16619
}Semantic roles & 50–950 ramp
primary
#B341B3
secondary
#8BC48B
accent
#D65151
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140A13
muted
#837C82