#B343B2#B343B2
#B343B2 is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.7% C 0.195 H 328.1°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #B343B2 |
|---|---|
| RGB | rgb(179, 67, 178) |
| HSL | hsl(301, 46%, 48%) |
| HSV | hsv(301, 63%, 70%) |
| CMYK | cmyk(0%, 62.6%, 0.6%, 29.8%) |
| CIE-LAB | lab(48.03, 59.21, -37.30) |
| CIE-LCH | lch(48.03, 69.98, 327.79°) |
| OKLab | oklab(57.71% 0.1654 -0.1029) |
| OKLCH | oklch(57.71% 0.195 328.1) |
| XYZ | xyz(28.6331, 16.8143, 43.8482) |
| Luminance | 0.1681 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.75
Ugly Purple
#A442A0
ΔE00 3.87
Medium Purple
#9E43A2
ΔE00 4.46
Pinky Purple
#C94CBE
ΔE00 5.46
Purply
#983FB2
ΔE00 6.03
Barney
#AC1DB8
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B343B2 #43B344
analogous
#7C43B3 #B343B2 #B3437A
triadic
#B343B2 #B2B343 #43B2B3
tetradic
#B343B2 #B37C43 #43B344 #437AB3
square
#B343B2 #B37C43 #43B344 #437AB3
split-complementary
#B343B2 #7AB343 #43B37C
monochromatic
#5A2259 #863286 #B343B2 #C86BC7 #D898D8
Accessibility & contrast
On white
4.81
#B343B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.36
#B343B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B343B2
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B343B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B343B2 | 1.00 | 4.81 | 4.36 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3669B5
Deuteranopia (green-blind)
#5E77AF
Tritanopia (blue-blind)
#B85174
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #b343b2; /* rgb */ color: rgb(179, 67, 178); /* oklch */ color: oklch(57.7% 0.195 328.1);
Tailwind
colors: {
custom: {
50: '#cd7fc9',
500: '#b343b2',
950: '#000000',
},
}SCSS
$custom: #b343b2; $custom-light: #cd7fc9; $custom-dark: #000000;
JSON
{
"hex": "#b343b2",
"rgb": {
"r": 179,
"g": 67,
"b": 178
},
"hsl": {
"h": 300.536,
"s": 45.528,
"l": 48.235
},
"oklch": {
"l": 0.57711,
"c": 0.19478,
"h": 328.1
},
"luminance": 0.16812
}Semantic roles & 50–950 ramp
primary
#B343B2
secondary
#8DC48E
accent
#D55453
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82