#B343AC#B343AC
#B343AC is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.4% C 0.190 H 330.3°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #B343AC |
|---|---|
| RGB | rgb(179, 67, 172) |
| HSL | hsl(304, 46%, 48%) |
| HSV | hsv(304, 63%, 70%) |
| CMYK | cmyk(0%, 62.6%, 3.9%, 29.8%) |
| CIE-LAB | lab(47.72, 58.19, -34.25) |
| CIE-LCH | lch(47.72, 67.52, 329.52°) |
| OKLab | oklab(57.4% 0.1649 -0.0941) |
| OKLCH | oklch(57.4% 0.19 330.3) |
| XYZ | xyz(28.0438, 16.5786, 40.7446) |
| Luminance | 0.1658 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.31
Purpley Pink
#C83CB9
ΔE00 3.92
Medium Purple
#9E43A2
ΔE00 4.22
Pinky Purple
#C94CBE
ΔE00 5.70
Purply
#983FB2
ΔE00 6.51
Barney
#AC1DB8
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B343AC #43B34A
analogous
#8243B3 #B343AC #B34374
triadic
#B343AC #ACB343 #43ACB3
tetradic
#B343AC #B38243 #43B34A #4374B3
square
#B343AC #B38243 #43B34A #4374B3
split-complementary
#B343AC #74B343 #43B382
monochromatic
#5A2256 #863281 #B343AC #C86BC2 #D898D4
Accessibility & contrast
On white
4.87
#B343AC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#B343AC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B343AC
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B343AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B343AC | 1.00 | 4.87 | 4.32 | 4.87 |
| #FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B67AF
Deuteranopia (green-blind)
#6177A9
Tritanopia (blue-blind)
#B94F71
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #b343ac; /* rgb */ color: rgb(179, 67, 172); /* oklch */ color: oklch(57.4% 0.190 330.3);
Tailwind
colors: {
custom: {
50: '#cd7fc5',
500: '#b343ac',
950: '#000000',
},
}SCSS
$custom: #b343ac; $custom-light: #cd7fc5; $custom-dark: #000000;
JSON
{
"hex": "#b343ac",
"rgb": {
"r": 179,
"g": 67,
"b": 172
},
"hsl": {
"h": 303.75,
"s": 45.528,
"l": 48.235
},
"oklch": {
"l": 0.57395,
"c": 0.18985,
"h": 330.3
},
"luminance": 0.16577
}Semantic roles & 50–950 ramp
primary
#B343AC
secondary
#8DC491
accent
#D55B53
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82