#B6339E#B6339E
#B6339E is a mid, highly saturated pink. Relative luminance 0.148; OKLCH L 55.5% C 0.201 H 336.4°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #B6339E |
|---|---|
| RGB | rgb(182, 51, 158) |
| HSL | hsl(311, 56%, 46%) |
| HSV | hsv(311, 72%, 71%) |
| CMYK | cmyk(0%, 72%, 13.2%, 28.6%) |
| CIE-LAB | lab(45.34, 62.86, -29.66) |
| CIE-LCH | lch(45.34, 69.51, 334.74°) |
| OKLab | oklab(55.54% 0.1845 -0.0807) |
| OKLCH | oklch(55.54% 0.201 336.4) |
| XYZ | xyz(26.6472, 14.7838, 33.7913) |
| Luminance | 0.1478 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.68
Medium Purple
#9E43A2
ΔE00 4.98
Purpley Pink
#C83CB9
ΔE00 5.87
Mediumvioletred
#C71585
ΔE00 6.52
Barney
#AC1DB8
ΔE00 6.71
Warm Purple
#952E8F
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B6339E #33B64B
analogous
#8C33B6 #B6339E #B6335D
triadic
#B6339E #9EB633 #339EB6
tetradic
#B6339E #B68C33 #33B64B #335DB6
square
#B6339E #B68C33 #33B64B #335DB6
split-complementary
#B6339E #5DB633 #33B68C
monochromatic
#56184B #862674 #B6339E #D056BA #DD86CD
Accessibility & contrast
On white
5.31
#B6339E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#B6339E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B6339E
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B6339E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B6339E | 1.00 | 5.31 | 3.96 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#355FA1
Deuteranopia (green-blind)
#62729B
Tritanopia (blue-blind)
#BF3C65
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #b6339e; /* rgb */ color: rgb(182, 51, 158); /* oklch */ color: oklch(55.5% 0.201 336.4);
Tailwind
colors: {
custom: {
50: '#d077bb',
500: '#b6339e',
950: '#000000',
},
}SCSS
$custom: #b6339e; $custom-light: #d077bb; $custom-dark: #000000;
JSON
{
"hex": "#b6339e",
"rgb": {
"r": 182,
"g": 51,
"b": 158
},
"hsl": {
"h": 310.992,
"s": 56.223,
"l": 45.686
},
"oklch": {
"l": 0.55537,
"c": 0.20141,
"h": 336.4
},
"luminance": 0.14781
}Semantic roles & 50–950 ramp
primary
#B6339E
secondary
#7EC78B
accent
#E06448
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140A12
muted
#837C81