#B346CD#B346CD
#B346CD is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.6% C 0.214 H 319.3°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #B346CD |
|---|---|
| RGB | rgb(179, 70, 205) |
| HSL | hsl(288, 57%, 54%) |
| HSV | hsv(288, 66%, 80%) |
| CMYK | cmyk(12.7%, 65.9%, 0%, 19.6%) |
| CIE-LAB | lab(49.95, 62.86, -49.92) |
| CIE-LCH | lch(49.95, 80.27, 321.54°) |
| OKLab | oklab(59.57% 0.1625 -0.1396) |
| OKLCH | oklch(59.57% 0.214 319.3) |
| XYZ | xyz(31.7986, 18.3733, 59.6172) |
| Luminance | 0.1837 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.80
Lightish Purple
#A552E6
ΔE00 5.47
Purple Pink
#D725DE
ΔE00 5.78
Purpley Pink
#C83CB9
ΔE00 5.80
Amethyst
#9B5FC0
ΔE00 6.25
Pinky Purple
#C94CBE
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B346CD #60CD46
analogous
#7046CD #B346CD #CD46A4
triadic
#B346CD #CDB346 #46CDB3
tetradic
#B346CD #CD7046 #60CD46 #46A4CD
square
#B346CD #CD7046 #60CD46 #46A4CD
split-complementary
#B346CD #A4CD46 #46CD70
monochromatic
#672078 #912DA8 #B346CD #C776DA #DBA6E7
Accessibility & contrast
On white
4.49
#B346CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.67
#B346CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B346CD
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B346CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B346CD | 1.00 | 4.49 | 4.67 | 4.67 |
| #FFFFFF | 4.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#166FD1
Deuteranopia (green-blind)
#4F7BCA
Tritanopia (blue-blind)
#B35E84
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #b346cd; /* rgb */ color: rgb(179, 70, 205); /* oklch */ color: oklch(59.6% 0.214 319.3);
Tailwind
colors: {
custom: {
50: '#cd81dd',
500: '#b346cd',
950: '#000000',
},
}SCSS
$custom: #b346cd; $custom-light: #cd81dd; $custom-dark: #000000;
JSON
{
"hex": "#b346cd",
"rgb": {
"r": 179,
"g": 70,
"b": 205
},
"hsl": {
"h": 288.444,
"s": 57.447,
"l": 53.922
},
"oklch": {
"l": 0.59574,
"c": 0.21429,
"h": 319.3
},
"luminance": 0.18372
}Semantic roles & 50–950 ramp
primary
#B346CD
secondary
#A6D49B
accent
#E14765
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83