#B342B3#B342B3
#B342B3 is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.7% C 0.197 H 327.8°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #B342B3 |
|---|---|
| RGB | rgb(179, 66, 179) |
| HSL | hsl(300, 46%, 48%) |
| HSV | hsv(300, 63%, 70%) |
| CMYK | cmyk(0%, 63.1%, 0%, 29.8%) |
| CIE-LAB | lab(47.93, 59.80, -38.05) |
| CIE-LCH | lch(47.93, 70.88, 327.53°) |
| OKLab | oklab(57.66% 0.1666 -0.1051) |
| OKLCH | oklch(57.66% 0.197 327.8) |
| XYZ | xyz(28.6749, 16.7367, 44.3593) |
| Luminance | 0.1673 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.81
Ugly Purple
#A442A0
ΔE00 3.94
Medium Purple
#9E43A2
ΔE00 4.46
Pinky Purple
#C94CBE
ΔE00 5.58
Purply
#983FB2
ΔE00 5.87
Barney
#AC1DB8
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B342B3 #42B342
analogous
#7A42B3 #B342B3 #B3427A
triadic
#B342B3 #B3B342 #42B3B3
tetradic
#B342B3 #B37A42 #42B342 #427AB3
square
#B342B3 #B37A42 #42B342 #427AB3
split-complementary
#B342B3 #7AB342 #42B37A
monochromatic
#5A215A #863286 #B342B3 #C86AC8 #D997D9
Accessibility & contrast
On white
4.83
#B342B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#B342B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B342B3
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B342B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B342B3 | 1.00 | 4.83 | 4.35 | 4.83 |
| #FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3368B6
Deuteranopia (green-blind)
#5D77B0
Tritanopia (blue-blind)
#B85175
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #b342b3; /* rgb */ color: rgb(179, 66, 179); /* oklch */ color: oklch(57.7% 0.197 327.8);
Tailwind
colors: {
custom: {
50: '#cd7eca',
500: '#b342b3',
950: '#000000',
},
}SCSS
$custom: #b342b3; $custom-light: #cd7eca; $custom-dark: #000000;
JSON
{
"hex": "#b342b3",
"rgb": {
"r": 179,
"g": 66,
"b": 179
},
"hsl": {
"h": 300,
"s": 46.122,
"l": 48.039
},
"oklch": {
"l": 0.57656,
"c": 0.19697,
"h": 327.8
},
"luminance": 0.16735
}Semantic roles & 50–950 ramp
primary
#B342B3
secondary
#8CC48C
accent
#D65252
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82