#B343AA#B343AA
#B343AA is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.3% C 0.188 H 331.0°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #B343AA |
|---|---|
| RGB | rgb(179, 67, 170) |
| HSL | hsl(305, 46%, 48%) |
| HSV | hsv(305, 63%, 70%) |
| CMYK | cmyk(0%, 62.6%, 5%, 29.8%) |
| CIE-LAB | lab(47.63, 57.86, -33.23) |
| CIE-LCH | lch(47.63, 66.72, 330.13°) |
| OKLab | oklab(57.29% 0.1647 -0.0912) |
| OKLCH | oklch(57.29% 0.188 331) |
| XYZ | xyz(27.8532, 16.5023, 39.7407) |
| Luminance | 0.1650 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.19
Purpley Pink
#C83CB9
ΔE00 4.04
Medium Purple
#9E43A2
ΔE00 4.22
Pinky Purple
#C94CBE
ΔE00 5.82
Purply
#983FB2
ΔE00 6.71
Barney
#AC1DB8
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B343AA #43B34C
analogous
#8443B3 #B343AA #B34372
triadic
#B343AA #AAB343 #43AAB3
tetradic
#B343AA #B38443 #43B34C #4372B3
square
#B343AA #B38443 #43B34C #4372B3
split-complementary
#B343AA #72B343 #43B384
monochromatic
#5A2255 #863280 #B343AA #C86BC0 #D898D3
Accessibility & contrast
On white
4.88
#B343AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#B343AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B343AA
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B343AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B343AA | 1.00 | 4.88 | 4.30 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C67AD
Deuteranopia (green-blind)
#6277A7
Tritanopia (blue-blind)
#BA4E70
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #b343aa; /* rgb */ color: rgb(179, 67, 170); /* oklch */ color: oklch(57.3% 0.188 331.0);
Tailwind
colors: {
custom: {
50: '#cd7fc3',
500: '#b343aa',
950: '#000000',
},
}SCSS
$custom: #b343aa; $custom-light: #cd7fc3; $custom-dark: #000000;
JSON
{
"hex": "#b343aa",
"rgb": {
"r": 179,
"g": 67,
"b": 170
},
"hsl": {
"h": 304.821,
"s": 45.528,
"l": 48.235
},
"oklch": {
"l": 0.57292,
"c": 0.18822,
"h": 331
},
"luminance": 0.165
}Semantic roles & 50–950 ramp
primary
#B343AA
secondary
#8DC492
accent
#D55D53
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B12
muted
#827C81